To continue receiving payouts, you need to secure your account by turning on two-step authentication. If two-step authentication is not turned on your payouts will be paused. Learn more

My app fails to create new store instance in the database - no errors - no code modifications done

New Member
1 0 0

dear developers :
i'm debugging a public app that does not create new store instances in the database
and throwing no errors except at connect stage - post installation-  "401 unauthorized"
the app gets installed properly, and available at shopify store's apps list.

no code modifications were done since 20th of march, and the app was working on 24th of march on API version 2019-04

Are there any breaking changes since then to shopify API ? as i know we still have till 1st of July to do update to a newer version.

any previously registered account is still able to use the app, but not a new one.
the app is responding with a strange token that starts with "shpat_" that is supposed to be a JWT token. but looks like secret key, that causes Response Payload : {"detail":"Error decoding signature."} 

the app is using shopify python API V3.0.0
working with django framework
the redirect page "Authorize" done with AngularJS

Reply 1 (1)
Shopify Staff (Retired)
Shopify Staff (Retired)
624 104 180

Hi @wassouf ,


Would it be possible for you to share the value of the X-Request-ID response header from the "401 Unauthorized" Shopify API error response? With this information we can go through our platform logs and see why these errors or unexpected outcomes occurred.  

Hassain | Developer Support Specialist @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution