I have an app running on the app store and we just lost all API access.
We use the direct api access mode. With offline tokens.
TOML file looks like:
[access.admin]
direct_api_mode = "offline"
embedded_app_direct_api_access = true
And if I try to perform a simple query:
query GetShop {
shop {
id
}
}
I get a 401 error back - {
“error”: “Unable to retrieve token”
}
Everything was working yesterday… No changes to the app.
Can someone at Shopify look into this? I imagine this could be affecting a lot of customers.
I’m experiencing the same problem with all our apps
We’re using online tokens
[access.admin]
direct_api_mode = "online"
embedded_app_direct_api_access = true
Hi @ozzyonfire,
Thanks for the report! There’s currently a problem with Direct API access and a fix is being deployed. I will update this thread once the fix is out.
@Charlie-Shopify Maybe it would be worth mentionning on the status page ?
https://www.shopifystatus.com
Agreed. It was the first place I looked and didn’t see mention of it.
azy
6
thank you. my app is working now.
@ozzyonfire thank you for your prompt report. my app was same issue, but it is working now.
The fix is out on production now. Please let us know if you’re still experiencing an issue with this!
Same today. Everything worked good yesterday and this morning I have issues when I run.
“shopify app dev” , or “shopfiy app config use” I get error:
But if I remove the direct admin access this is working:
I need the direct admin for my app to work correctly
Shopify cli version: 3.76.2
This may be related to this: [FIXED] CLI dev/deployment issues - #20 by Isaac-Shopify
Can you test again on your side?