Skip to content
Back

not able to fetch user data

  • 0
  • Databases
  • Auth
INSANE
15 Nov, 2025, 06:40

I am unable to fetch all users from my Appwrite Cloud project.

My project has around 3700 users, but the API always returns only 25 users even though I created a new API Key with all scopes enabled (Select All).

  • /users?limit=100 → returns only 25 users
  • /users?offset=100 → still returns the same 25
  • cursorAfter() and queries[] also return only 25
  • No "total" field in the response
  • Error logs show: "User (role: guests) missing scopes ['users.read']"
    even though the API key definitely has users.read and all other scopes enabled.

It looks like the API key is stuck at guest permission level internally.

Please refresh/repair the scope assignment for my project or regenerate a valid admin-level system key. I urgently need full user export.

TL;DR
Issue: Unable to fetch all users from Appwrite Cloud project due to API limiting responses to 25 users only, even with correct scopes assigned. Solution: Request a scope refresh or regenerate an admin-level system key in order to access the full list of users for export.
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