Query not authenticating in POSTMAN

I am trying to run an API query through postman and it is returning the following invalid API key/password error.

I am wondering if it is an issue with the url structure. The structure used is:

Can anyone assist?

1 Like

Hi @aperkins :waving_hand:

I’d recommend using cURL to check if the access token is valid:

curl -X POST \
'https://{{SHOP}}.myshopify.com/admin/api/2022-10/graphql.json' \
-H 'Content-Type: application/json' \
-H 'X-Shopify-Access-Token: {{TOKEN}}' \
-d '{"query": "{ app { id } }"}'

Hope that helps!

Thanks, Umiko.

I believe we have it sorted out now.

1 Like

Umiko,

I thought this was resolved but alas. This is the response from our developer on the app:

what I am looking for is the exact solution with the correct header and bodye to fix this query

Any suggestions would be most appreciated!