/users/me endpoint returned 403 Request Forbidden
-
In WordPress REST-API, there is an endpoint called
/users/me
which response with data for the currently logged-in user. When I requested/users/me
I got 403 error code. But If I requested/users/1
(where 1 is the user ID) then everything works. So why am I getting 403 error for/users/me
endpoints? I’m using Postman to send my request:THIS WORKS (userID 1 is the currently logged-in user):
https://mywebsite.com/wp-json/users/1?access_token=<myAccessToken>DOESN’T WORK:
https://mywebsite.com/wp-json/users/me?access_token=<myAccessToken>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘/users/me endpoint returned 403 Request Forbidden’ is closed to new replies.