Unable to connect Shopify credentials in n8n

Hi everyone,

I’m trying to connect my Shopify account in n8n using the Shopify node, but I can’t seem to authenticate my credentials.

  • I have entered my API key, API secret key, and subdomain.

  • I have also tried creating a new private app in Shopify to get fresh credentials.

  • However, every time I try to connect, I get an authentication error.

Has anyone experienced this issue before? Could it be related to API permissions or the new Shopify API settings?

Any guidance would be greatly appreciated.

Thanks!

This is a common issue with Shopify authentication in n8n. Here are the most likely causes and solutions:

Most Common Issues:

1. Shopify API Version Changes

Shopify deprecated private apps in January 2022. You now need to use:

  • Custom apps (recommended for n8n)

  • Shopify Partners app for development

2. Create a Custom App (Not Private App)

  1. Go to your Shopify admin: Settings > Apps and sales channels

  2. Click Develop apps

  3. Click Create an app

  4. Give it a name and click Create app

  5. Go to Configuration tab

  6. Configure the scopes you need (Admin API access)

  7. Click Install app

  8. Get your API access token and API secret key

3. API Permissions/Scopes

Make sure your app has the necessary scopes enabled:

  • read_products, write_products

  • read_orders, write_orders

  • read_customers, write_customers

  • Whatever specific permissions your workflow needs

4. n8n Shopify Node Configuration

In n8n, use:

  • API Key: Your Admin API access token

  • Password: Your Admin API access token (yes, same as API key)

  • Shop Subdomain: Just the subdomain part (e.g., mystore, not mystore.myshopify.com)

5. Authentication Method

  • Use API Key Auth method in n8n

  • Don’t use the OAuth method for custom apps

Troubleshooting Steps:

  1. Verify your subdomain format: Use only yourstore not yourstore.myshopify.com

  2. Test API access directly:

    curl -X GET "https://yourstore.myshopify.com/admin/api/2023-04/shop.json" \
    -H "X-Shopify-Access-Token: your_access_token"
    
    
  3. Check API rate limits: Shopify has strict rate limiting

  4. Verify app installation: Make sure the custom app is properly installed and active

If Still Having Issues:

  • What exact error message are you getting?

  • Are you using the latest version of n8n?

  • What API version is your Shopify store using?

The key change is moving from private apps to custom apps - this catches most people since the Shopify interface changed significantly.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.