When accessing staffMember through appbridge, an error message is returned, "Limited access"

Our application is a private application installed under shopify plus.
When I try to get “StaffMember” through the app bridge, the returned information is “Limited access”. The following documents are for my reference
https://shopify.dev/docs/api/app-bridge/previous-versions/methods

1 Like

Hi - when you say:

When I try to get “StaffMember” through the app bridge

Can you describe exactly what you’re doing?

We are trying to do the same thing.
When a staff member of a Shopify store is opening the app, our app should be able to identify that specific staff member by ID, name and email address instead of just logging a request from “example store”.
It is possible to do, we’ve seen other apps do it, but couldn’t get it to work yet.

We used the current approach documented here: User
Unfortunately, the attributes of the object seem to be undefined, when we call shopify.user() or access the appBridgeContext:

You will need to use online access tokens

1 Like