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.

Internal server error on any endpoint

Internal server error on any endpoint

andres12
Tourist
5 1 3

I created a custom app from the Admin panel and generated an access token there too. I'm making this request:

curl -X POST https://{{shop-name}}.myshopify.com/api/2022-07/graphql.json \
-H 'Content-Type: application/graphql' \
-H 'X-Shopify-Storefront-Access-Token: {{my-token}}' \
-d '{ products(first:5) { edges { node { id } } } }'

And I'm receiving this response:

{"errors":"Internal Server Error"}

 If I change the token I receive no response, so I assume the token is right.

Reply 1 (1)

andres12
Tourist
5 1 3

I've just changed the endpoint to:

https://{{shop-name}}.myshopify.com/api/graphql.json

and it worked, but I'd like to specify the API version