Summary
Encountering HTTP 502 error and ‘Method Not Allowed’ error when trying to discover streams with Shopify connector in Airbyte. Error occurs when ‘read_orders’ scope is included in permissions.
Question
Hello Airbyte team,
I’m encountering an issue with the Shopify connector when trying to discover available streams. Here are the details of the problem:
I have configured the Shopify connector in Airbyte with all necessary read scopes, including read_orders
. When I attempt to fetch the available streams during the connection setup (using Snowflake as destination), I receive the error "Airbyte is temporarily unavailable. Please try again. (HTTP 502)". Opening the browser console I get the attached json. The connector attempts to use the GET method, resulting in a “Method Not Allowed” error.
Interestingly, when I remove the read_orders
scope from the Shopify app permissions, the error does not occur, and the streams are discovered successfully.
I have already verified that the read_orders
scope is correctly granted in the Shopify app and that the API works when called directly using curl
(curl -X GET "<https://myshop.myshopify.com/admin/api/2024-01/orders.json>" -H "X-Shopify-Access-Token: token"
).
Is there something I’m missing in the connector setup? Any help or insights would be greatly appreciated!
Thank you in advance!
This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.