You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After following the README.md, none of the GraphQL requests return a response; the following error appears in the log:
Error: Failed to parse session token '<token>': jwt not active
┃ at InvalidJwtError.ShopifyError [as constructor] (/home/vango/sourcecode/product-reviews-sample-app/node_modules/@shopify/shopify-api/dist/error.js:13:28)
┃ at new InvalidJwtError (/home/vango/sourcecode/product-reviews-sample-app/node_modules/@shopify/shopify-api/dist/error.js:39:42)
┃ at Object.decodeSessionToken (/home/vango/sourcecode/product-reviews-sample-app/node_modules/@shopify/shopify-api/dist/utils/decode-session-token.js:20:15)
┃ at Object.getCurrentSessionId (/home/vango/sourcecode/product-reviews-sample-app/node_modules/@shopify/shopify-api/dist/auth/oauth/oauth.js:218:64)
┃ at Object.<anonymous> (/home/vango/sourcecode/product-reviews-sample-app/node_modules/@shopify/shopify-api/dist/utils/load-current-session.js:19:46)
┃ at step (/home/vango/sourcecode/product-reviews-sample-app/node_modules/@shopify/shopify-api/node_modules/tslib/tslib.js:143:27)
┃ at Object.next (/home/vango/sourcecode/product-reviews-sample-app/node_modules/@shopify/shopify-api/node_modules/tslib/tslib.js:124:57)
┃ at /home/vango/sourcecode/product-reviews-sample-app/node_modules/@shopify/shopify-api/node_modules/tslib/tslib.js:117:75
┃ at new Promise (<anonymous>)
┃ at Object.__awaiter (/home/vango/sourcecode/product-reviews-sample-app/node_modules/@shopify/shopify-api/node_modules/tslib/tslib.js:113:16)
┃ at Object.loadCurrentSession (/home/vango/sourcecode/product-reviews-sample-app/node_modules/@shopify/shopify-api/dist/utils/load-current-session.js:15:20)
┃ at /home/vango/sourcecode/product-reviews-sample-app/node_modules/@shopify/koa-shopify-auth/dist/src/verify-request/login-again-if-different-shop.js:17:74
┃ at step (/home/vango/sourcecode/product-reviews-sample-app/node_modules/tslib/tslib.js:133:27)
┃ at Object.next (/home/vango/sourcecode/product-reviews-sample-app/node_modules/tslib/tslib.js:114:57)
┃ at /home/vango/sourcecode/product-reviews-sample-app/node_modules/tslib/tslib.js:107:75
┃ at new Promise (<anonymous>)
Any guidance that could be provided to successfully run this application would be appreciated.
Update
Turns out it was an issue with my system time being out of sync with the NTP server:
After following the README.md, none of the GraphQL requests return a response; the following error appears in the log:
Any guidance that could be provided to successfully run this application would be appreciated.
Update
Turns out it was an issue with my system time being out of sync with the NTP server:
*Shopify/shopify-api-js#137 (comment)
*https://linuxhint.com/sync-time-ntp-server-linux/
The text was updated successfully, but these errors were encountered: