Why am I experiencing an "Error 400 - not allowed for this app" while integrating Pipedrive using Pipedream Connect and OAuth, and how can I resolve it?

Hey can you try passing the relative path for Shopify? For example,

/admin/api/2024-04/graphql.json

Since the Shop ID in the subdomain is dynamic based on the Shopify store, Pipedream will fill that in at run time.

We need to do a better job in our documentation, but that is what’s highlighted in the blue callout in the docs here:

Hello I will give it a try and will get back to you on this.

Hello This worked. Thanks

Posted thread to Discourse: Why am I encountering errors while fetching data from Pipedrive using Pipedream Connect and how can I resolve these issues?

Hello & @U02A06JPKEH
Thank you for your help in the past couple of days.

I’m now trying to connect my Shopify store using OAuth in Pipedream, but I’m facing some issues. Here’s what I did:

  1. I first created a Shopify store and then created an app to authorize OAuth in Pipedream, but I couldn’t access it properly.
  2. Then I created a Shopify Partners account, set up a development store, and created a custom app there. This gave me the Client ID and Client Secret.
  3. I used the redirect URI from Pipedream in the app settings.
  4. I tried installing this app on the development store, but since it’s a dev store, I couldn’t access it publicly without a password.
  5. So I switched to another Shopify account (not in Partners), added myself as a collaborator, and bought the Basic Plan for that store.
  6. Now when I try to connect Pipedream via OAuth, it redirects me to the correct store, but it says:
  7. “You don’t have access to this app – it’s under review.”
    Can you please guide me on how to correctly set up OAuth with Shopify using Pipedream, especially in this case where the app is still in development or under review?

Thanks!

Hey , thank you for reaching out. I’ll check this and get back to you asap

Hello Thank you. Looking forward to hearing back from you.

  1. I first created a Shopify store and then created an app to authorize OAuth in Pipedream, but I couldn’t access it properly.
    Could you share more details on the part “but I couldn’t access it properly”?
  1. Then I created a Shopify Partners account, set up a development store, and created a custom app there. This gave me the Client ID and Client Secret.
    I believe this is not a correct way to connect your Shopify store with Pipedream. Shopify Partners is used for different purpose

Can you please share the correct way to connect Shopify to Pipedream?

, you mean on PIpedream UI or Pipedream Connect, or BYOA?

I am using Pipedream connect and want to try with OAuth.

Got it, I’ll check and get back to you

Thanks

Hello Do you have any update for me?

I would really appreciate if I can get some quick help here.

Hey Khuzaima, sorry for the confusion, we need to clean that up. There are 2 ways your users can connect to Shopify:
Shopify (name_slug: shopify): this will ask your end users to enter their Shop ID, Admin Access Token, and Storefront Access Token.
Shopify (OAuth) (name_slug: shopify_developer_app): as the Connect developer, you need to configure an OAuth client in Pipedream first, then as long as you pass the oauthAppId either on the Connect Link URL or as an org in connectAccount(), your end users will only need to provide their Shop ID.

Hello Thank you for responding.

When creating custom OAuth in Pipedream for Shopify, we need to provide the Client ID and Client Secret from our Shopify app.

We can use either of these 2 mentioned below:

  1. Custom App credentials - Client ID and Secret from your own Shopify custom app
  2. Partner Account App credentials - Client ID and Secret from an app created in your Shopify Partners account
    Getting these 2 errors for above options:
  3. Custom App credentials - Application_uri and redirect_uri not matches
  4. Partner Account App credentials - App can not be accessed
    We tried with above 2 while creating OAuth for Shopify and it did not worked. I want to know which one I should use while creating OAuth for Shopify?

It would be really great if I can get some quick response here. Because my project go live is dependent on this issue.

Hey Khuzaima, we have a lot of customers to support, so responses may not always immediately, but we’re doing the best we can to support you.

I believe it’ll depend on the context of what you’re trying to do and how you’re connecting to Shopify, but where are you seeing those errors? Did you configure the Pipedream redirect_uri in Shopify for your app config there? To confirm, this would be for your Shopify app, not your customers’, right?

Hey , Leo jumping in here.

The Shopify (OAuth) is intended for Shopify merchants who have public Shopify apps and will not work unless you connect using your own OAuth client. In order to connect with an unlisted Shopify Admin app, use the Shopify app instead of this one

This means that it is required that you need to have a public Shopify app. I believe the error **Partner Account App credentials -** App can not be accessed means you need to publish your app first.

I would recommend to use the Shopify Developer app instead, could you try it?