-
Notifications
You must be signed in to change notification settings - Fork 57
Description
I am getting the following issue when running it, but confirmed the app token works when running it on the command line.
`Configuring shopify CLI
Will run Lighthouse CI on https://***
Creating development theme
✗ Please login again with shopify login
Configuring Lighthouse CI
Fetching product handle
There's been an error when querying the API
curl: (22) The requested URL returned error: 401 `
➜ curl -X POST \ https://{domain}.myshopify.com/admin/api/2022-04/graphql.json \ -H 'Content-Type: application/graphql' \ -H 'X-Shopify-Access-Token: {access_token}' \ -d ' { products(first: 5) { edges { node { id handle } } pageInfo { hasNextPage } } } ' {"data":{"products":{"edges":[{"node":{"id":"gid:\/\/shopify\/Product\/6967023468732","handle":"spank-me-black-lace-teddy"}},{"node":{"id":"gid:\/\/shopify\/Product\/6967185932476","handle":"naughty-night-shift-nurse-costume"}},{"node":{"id":"gid:\/\/shopify\/Product\/6967188979900","handle":"plus-size-sheer-seduction-robe-set"}},{"node":{"id":"gid:\/\/shopify\/Product\/6967203299516","handle":"plus-size-blush-touch-chemise-set"}},{"node":{"id":"gid:\/\/shopify\/Product\/6967203463356","handle":"plus-size-relentless-rosebud-chemise-set"}}],"pageInfo":{"hasNextPage":true}}},"extensions":{"cost":{"requestedQueryCost":7,"actualQueryCost":7,"throttleStatus":{"maximumAvailable":2000.0,"currentlyAvailable":1993,"restoreRate":100.0}}}}%