App reviews, troubleshooting, and recommendations
Hello, I am trying to run https://github.com/Shopify/sample-django-app on localhost using shopify, but I am getting error
'code'
My .env file is located in root directory, it contains ACCESS_KEY, SECRET_KEY, API_URL and SCOPES. I also modified the APP URL and Allowed redirection URL(s) with ngrok url.
Here is the error on the server terminal:
Internal Server Error: /auth/shopify/callback
Traceback (most recent call last):
File "/home/tudor/.local/lib/python3.10/site-packages/django/utils/datastructures.py", line 84, in __getitem__
list_ = super().__getitem__(key)
KeyError: 'code'
What I am doing wrong? Thank you
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025