Troubleshooting: Invalid credentials or missing permissions error
[Latest Shopify importer]
Using the connection (note: importers created after Dec 20, 2022)
You may receive this error in case your Shopify source connection becomes invalid. To fix an error:
- Navigate to the "Connections" page.
- Find the Shopify connection used in the failed importer.
- Click the "Reconnect" button.
- Enter shop name.
- Login to Shopify (if needed).
- Confirm connection creation.
Then you can rerun failed importer - execution should finish with success.
[Legacy Shopify importer]
Using API key and password or API token without password (note: importers created before Dec 20, 2022 )
Firstly, define what application you use: private app or custom app. For this:
- Login to Shopify.
- Login to the store.
- Navigate to Apps.
- Click the "Develop app for your store" button.
- Find the app that you created for Coupler.io integration.
- Check app type below the store name.
Private app:
Custom app:
Quick tip:
If you have a Private app, you need to use API key and API password in the importer's settings
If you have a Custom app, you need need to use API token in the importer's settings only, no password
Detailed steps to check:
In case you have a "Private app" - please follow the next instructions:
Step 1. Please check that the "API key" and "API password" are copied from Shopify without typos.
Step 2. Please check the permissions granted to this API key. To do this:
- Navigate to the "Apps" menu item.
- Click the "Develop app for your store" button.
- Select the app that you created previously to get the API key and password.
- Please check active permissions that are defined for the application. Here is the needed list of permissions.
In case some permissions are not active yet - please activate them. For this follow the next steps:
- Click " Show inactive Admin API permissions".
- Select "Read access" for missed scope (i.e. Orders).
- Save changes.
In case you have a "Custom app" - please follow the next instructions:
Step 1. Please check that the "API token" has no extra characters or spaces.
Note: API token can be copied 1 time during custom app setup. So if you did no store the API token - you need to create a new custom app and be sure that you copy the API token this time!
Step 2. Please check that you left the "API password" field empty in the importer settings.
Step 3. Please check the permissions granted to this API token. To do this:
- Navigate to the "Apps" menu item.
- Click the "Develop app for your store" button.
- Select the app that you created previously to get API token.
- Navigate to the "Configuration" tab.
- Check used permissions:
- In case your permissions are different from the list "read_inventory, read_orders, read_products, read_customers": edit the configuration to include missed permissions.