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](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.