Solved

Grapql 404 not found on specific shop

Fets
Shopify Partner
10 0 1

Hi,

 

I'm having problems with a fulfillmentCreateV2 mution on the Grapql api. I'm getting {"errors": "Not found"} as result.

This request works fine on other shops, even with unknown orderid's.

The app has the same scopes as the one on the other shops.

 

x-request-id: 7cf45ea9-ca29-4ed1-821f-14c833445868-1711757022

 

Thankyou.

Accepted Solution (1)
ShopifyDevSup
Shopify Staff
1357 224 473

This is an accepted solution.

Hey @Fets,

 

Glad you got the issue resolved.

 

It's possible for merchants to setup an additional myshopify.com domain from within their admin and have it redirect back to the original. This can cause some confusion if you are using the GraphQL Admin API if the POST request becomes a GET request when it's redirected. 

I'd recommend using the original myshopify.com domain, which you should be able to verify with the Shop.myshopifyDomain field, or REST's Shop.myshopify_domain.

 

Cheers

 

- James

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 2 (2)

Fets
Shopify Partner
10 0 1

Okey problem solved.

 

For ever what reason shopify changed the domain for api usage?

Normally it is shopname.myshopify.com and now it is {generatedbyshopify}.myshopify.com

 

Anyone more info about this? Since when? Only new shops? Etc

 

Thnx.

ShopifyDevSup
Shopify Staff
1357 224 473

This is an accepted solution.

Hey @Fets,

 

Glad you got the issue resolved.

 

It's possible for merchants to setup an additional myshopify.com domain from within their admin and have it redirect back to the original. This can cause some confusion if you are using the GraphQL Admin API if the POST request becomes a GET request when it's redirected. 

I'd recommend using the original myshopify.com domain, which you should be able to verify with the Shop.myshopifyDomain field, or REST's Shop.myshopify_domain.

 

Cheers

 

- James

Developer Support @ Shopify
- Was this reply helpful? Click Like to let us know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog