shopify_credentials_rejected
The shop answered and rejected the access token, or there was none to use. In Shopify the token comes from authorising the app, and the merchant can revoke that authorisation from their admin at any time, so a token that worked yesterday may not work today without anyone changing a setting.
| Code | Type | HTTP | Category |
|---|---|---|---|
shopify_credentials_rejected | invalid_request_error | 422 | Integration |
Cause
The shop answered and rejected the access token, or there was none to use. In Shopify the token comes from authorising the app, and the merchant can revoke that authorisation from their admin at any time, so a token that worked yesterday may not work today without anyone changing a setting.
What to do
Authorise the app again on that shop to get a fresh token. Do not regenerate anything else: the app client secret and the webhook secret belong to the app and not to the shop, so changing them does not fix this code and would break your other connected shops.