GraphQL errors: [API] Invalid API key or access token (unrecognized login or wrong password)

GraphQL errors: [API] Invalid API key or access token (unrecognized login or wrong password)

moise75
Excursionist
45 0 8

When I run a curl request, I can access my product and see data showing up
curl -X POST \
https://brmutual.myshopify.com/api/2024-01/graphql.json \
-H 'Content-Type: application/json' \
-H 'X-Shopify-Storefront-Access-Token: 4746e2379' \
-d '{"query": "query { products(first: 5) { edges { node { id title } } } }"}'
but when I tried to access it with node.js is giving me this error GraphQL errors: [API] Invalid API key or access token (unrecognized login or wrong password)

Reply 1 (1)

YOD_Solutions
Shopify Partner
220 23 32

Can you share your node.js script?

Founder @ JsRates: Custom Shipping Rates
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more about JsRates visit the JsRates home page or JsRates documentation
- Find JsRates on Shopify app store