Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

All request return 404 errors not found for custom app

Solved

All request return 404 errors not found for custom app

imad21
Visitor
2 0 0

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 !

Accepted Solution (1)

SBD_
Shopify Staff
1831 273 421

This is an accepted solution.

Hey @imad21 

 

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

Scott | Developer Advocate @ Shopify 

View solution in original post

Replies 3 (3)

SBD_
Shopify Staff
1831 273 421

This is an accepted solution.

Hey @imad21 

 

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

Scott | Developer Advocate @ Shopify 

imad21
Visitor
2 0 0

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

SBD_
Shopify Staff
1831 273 421

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 🙂

Scott | Developer Advocate @ Shopify