Closed
Description
For some reason everytime I call a Parse Query I get denied. I was working on app last night and everything was fine. This morning I keep getting the error. I am using AWS to host and MongoDB. Also I'm working on Android. Any help would be great. This is my code:
`if (ParseUser.getCurrentUser() != null){
new Thread(new Runnable() {
@OverRide
public void run() {
Log.e(TAG, "Finding Users");
ParseQuery<ParseUser> parseQuery = ParseUser.getQuery();
parseQuery.whereNotEqualTo("objectId", ParseUser.getCurrentUser().getObjectId());
parseQuery.findInBackground(new FindCallback<ParseUser>() {
@Override
public void done(List<ParseUser> users, ParseException e) {
if (e == null && users != null) {
mAdaper.clear();
userlist.clear();
swipeRefreshLayout.setRefreshing(false);
for (int i = 0; i < users.size(); i++) {
addUser(users.get(i));
}
} else {
swipeRefreshLayout.setRefreshing(false);
if (e != null) {
Log.e("ERROR FIND USERS", e.getMessage()+ " "+e.getLocalizedMessage()+ " "+e.getCode());
}
}
}
});
}
}).start();
}`
and this is my error:
02-10 10:23:55.948 31981-32158/com.antonioallen.app E/CommunityFragment: Finding Users 02-10 10:23:56.048 31981-31981/com.antonioallen.app E/ERROR FIND USERS: Permission denied for this action. Permission denied for this action. 101
Metadata
Metadata
Assignees
Labels
No labels