All request return 404 errors not found for custom app

Topic summary

  • All Shopify Admin REST API calls (products, orders, shop) returned 404 Not Found for a custom app, despite having read scopes and sending X-Shopify-Access-Token. Example endpoint: /admin/api/2023-07/products.json.

  • Investigation centered on the exact request URL used for the store’s Admin API.

  • Root cause: the store’s *.myshopify.com domain had changed, and requests were still being sent to the old domain, leading to 404 errors.

  • Resolution: update requests to use the current myshopify.com store address; the access token and scopes were not the issue.

  • Status: Resolved. Key takeaway: always verify the base *.myshopify.com domain when encountering 404s on Admin API endpoints.

Summarized with AI on January 18. AI used: gpt-5.

I’m facing an error using the REST API to retrieve products and orders from Shopify API.

I have created a custom app from Admin API and I gave to the custom app all read scopes (products, orders, etc). But when I try to make a GET request on mydomain.myshopify.com/admin/api/2023-07/products.json I always get a 404 error. I have added the header X-Shopify-Access-Token with the token I have on the dashboard of the Admin API.

I have this error for all the requests (orders, products, shop, etc).

Thank you for your help !

Hey @imad21

Are you able to provide the exact URL that’s returning a 404? (DM is fine).

Hello @SBD thank you for the reply I sent you the url in DM.

For anyone coming across this thread - they had changed their myshopify domain. If you’re seeing similar be sure to double check the *.myshopify.com address :slightly_smiling_face:

1 Like