App reviews, troubleshooting, and recommendations
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Good day everyone,
I am a beginner in the making of Shopify app and I couldn't figure out how to make the Shopify API node project work.
I am stuck at the OAuth process with the following error:
src/index.ts:62:92 - error TS2345: Argument of type 'Record<string, any>' is not assignable to parameter of type 'AuthQuery'.
Type 'Record<string, any>' is missing the following properties from type 'AuthQuery': code, timestamp, state, shop
62 const session = await Shopify.Auth.validateAuthCallback(request, response, query);
~~~~~
following this tutorial: https://github.com/Shopify/shopify-api-node/blob/main/docs/usage/oauth.md
Does this error means something to you? I have been searching all over internet but couldn't understand what it means.
Thank you for your help!!