Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Python Oauth Flow issue

Python Oauth Flow issue

hconner158
Shopify Partner
2 0 0

"I'm new to the Shopify API and found the Python REST library outdated. I'm using FastAPI to make requests to Shopify for order data to build an inventory tracking system. My goal is to verify the initial JWT token, send a GET request to Shopify, and authenticate to create a session token. However, I get the following error:

{"detail": [{"type": "missing", "loc": ["query", "code"], "msg": "Field required", "input": null}]}

I use ngrok for HTTPS, so that's not the issue. Any advice on fixing this?"

 

Screenshot 2024-10-03 143159.png

Replies 0 (0)