Trouble Accessing StaffMember via Admin API – read_users Scope Error

Hi Shopify devs,

I’m currently building a Shopify app using Remix and the Admin API, and I’m running into an issue when trying to query StaffMember. I’ve set up a custom distribution and installed the app on a Plus store (since this is required for accessing staff data).

However, when I try to include the read_users scope in my app, I get the following error during deployment:

╭─ error ──────────────────────────────────────────────────────────────────────────╮
│                                                                                  │
│  Version couldn't be created.                                                    │
│                                                                                  │
│  app_access                                                                      │
│                                                                                  │
│  Validation errors                                                               │
│    • scopes: read_users                                                          │
│                                                                                  │
╰──────────────────────────────────────────────────────────────────────────────────╯

I’ve double-checked that the app is installed on a Plus store and that the Admin API version I’m using supports this scope. Still, the error persists.

Has anyone encountered this before? Is there an additional step I’m missing—like needing specific approval from Shopify for this scope?

You need to ask Shopify for that permission to be granted to your application as its a special permission with user info.

1 Like