rest api – Sorry, you are not allowed to list users


When I hit:

I am getting response:

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

I am able to view users in admin and via REST API I can create and modify posts so I am authenticated but for some reason I am unable to list users. This user has administrator role.

Anyone know what issue could be?

Guerrilla 1 year 2021-08-21T13:39:46-05:00 0 Answers 0 views 0

Leave an answer