Back

I'm getting "testeur@mail.com (role: users) missing scope (users.read)" despite all keys on header

  • 0
  • Users
  • Self Hosted
  • REST API
Alex-Integracom
21 Feb, 2024, 07:49

In Postman, I'm trying to test search functionnality of "/users" endpoint ( REST API) but here is error I got: "testeur@mail.com (role: users) missing scope (users.read)" despite all keys on header

In fact, "testeur@mail.com" is a real user of the project but why do I get such error ? I correctly set all headers param as on my screenshot

TL;DR
Developers are experiencing a "missing scope (users.read)" error when testing the search functionality of the "/users" endpoint in Postman. The error specifically mentions the user "testeur@mail.com" despite all keys being correctly set in the header. Solution: Check the authorization and scopes associated with the "testeur@mail.com" user to ensure they have the necessary permissions for the "users.read" scope.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more