Skip to content

API Get Products: Unauthorized after 1 day #3

@forslunds

Description

@forslunds

After a successfull installation with Vercel, Shopify and Upstash everything works wonderful (Awesome job!).

But if i revisit the app in shopify after 1 day, i can still login to the embedded app but the product listing is not showing.
Error from Vercel log says following:

ERROR HttpResponseError: Received an error response (401 Unauthorized) from Shopify: [API] Invalid API key or access token (unrecognized login or wrong password). If you report this error, please include this id: XXX-XXX-XXX
at HttpResponseError.ShopifyError [as constructor] (/var/task/node_modules/@shopify/shopify-api/dist/error.js:13:28)
at new HttpResponseError (/var/task/node_modules/@shopify/shopify-api/dist/error.js:95:28)
at RestClient. (/var/task/node_modules/@shopify/shopify-api/dist/clients/http_client/http_client.js:214:55)
at step (/var/task/node_modules/@shopify/shopify-api/node_modules/tslib/tslib.js:143:27)
at Object.next (/var/task/node_modules/@shopify/shopify-api/node_modules/tslib/tslib.js:124:57)
at fulfilled (/var/task/node_modules/@shopify/shopify-api/node_modules/tslib/tslib.js:114:62)
at processTicksAndRejections (internal/process/task_queues.js:95:5) {
code: 401,
statusText: 'Unauthorized'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions