Error: HTTP 403 Forbidden or Access Denied
Issue
After adding the required Shopify API access scopes, one of the following errors appears in Fivetran:
HTTP 403 ForbiddenHTTP error: Access Denied
Environment
- Connector: Shopify
- Authentication method: Custom App
Resolution
To resolve this issue, uninstall and reinstall the Shopify app to reissue the access token with the updated scopes:
- In the Shopify Admin, go to Settings > Apps > Develop apps.
- Select your custom app.
- Click Uninstall.
- Under Admin API access scopes, verify that you added the required scopes, then click Save.
- Click Install app or Reinstall app. If Shopify displays an Update option instead, click Update.
Cause
Shopify only issues the access token with the scopes approved when the app is installed. Adding scopes after installation does not update the existing token. Therefore, this issue occurs when you add the required scopes but do not reinstall the app, leaving the connection to use the original token without those scopes.