so upon requesting users through REST API - I get the

code    "rest_user_cannot_view"
message "Sorry, you are not allowed to list users."
status  401

for example https://www.example.com/en/wp-json/wp/v2/users/36

The problem is though, that I can request many of the users - but since adding new users, I get this error.

Tried incognito, using an OLD user - resulted into the same thing. No new plugins were added recently.

1 Answer 1


Found the answer here - Unable to get the info of the user which doesn't have created any post via REST API

It is very weird - would've never thought of this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.