1👍
No, that is not the reason. Much more likely is that you have not disabled csrf protection for that view, and Instagram obviously won’t have your csrf cookie, so the request fails.
Make sure you decorate the relevant view with django.views.decorators.csrf.csrf_exempt
.
Source:stackexchange.com