Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Invalid API token

Invalid API token

opheliab
Visitor
1 0 0

Hello!

 

My name is Ophelia and I work for a company that provides Shopify integrations and have been for some years. I am in a quite big need of assistance as we've bumped into something in Shopify API that we have not seen before.

 

Our users connect to Shopify through our Platform and we retrieve data from Shopify with their store URL and the generated Shopify Access Token. Yesterday we saw something for the first time ever - one of our users token became invalid. They connected and we could fetch data without any issues. A couple hours later the Token became invalid and Shopify returned the following: 

 

{
    "errors": "[API] Invalid API key or access token (unrecognized login or wrong password)"
}
 
They tried to reconnect and everything was OK for a couple hours before the new Access Token also became invalid.
 
We have never seen this with any other user before and hence we're very confused. Does anyone know what the cause of this could be? Is it something in their Shopify store/settings specifically? Or what are common reasons for an Access Token to become invalid?
 
 
Thank you in advance!
 

Kind Regards, 
Ophelia
Replies 0 (0)