wq / django-data-wizard

🧙⚙️ Import structured data (e.g. Excel, CSV, XML, JSON) into one or more Django models via an interactive web-based wizard
https://django-data-wizard.wq.io
MIT License
341 stars 53 forks source link

Error 403 in GET /datawizard/3/status/ #29

Open djjudas21 opened 4 years ago

djjudas21 commented 4 years ago

Hi there. I am trying to set up data-wizard in my greenfield Django site so I can import some data.

To keep the issue short I've created a gist with the following config files:

The wizard UI seems to work fine through the admin until it comes to importing the data, as in this screen in the docs:

image

The progress bar continues forever and the Django log shows repeated 403 errors which continue forever until interrupted.

Forbidden: /datawizard/3/status/
[26/Feb/2020 17:21:07] "GET /datawizard/3/status/?format=json&task=1107fc6f-b995-4de9-9328-fef7c03b4a81 HTTP/1.1" 403 58

This occurred while I was logged in as the admin user, and happened both with and without this setting set:

DATA_WIZARD = {
    'PERMISSION': 'rest_framework.permissions.IsAdminUser',
}

I'm relatively new to Python/Django - do you have any hints for tracking this error down?

Thanks :slightly_smiling_face:

sheppard commented 1 year ago

Is this still an issue in the latest version? If so, can you watch the network traffic in your browser developer console and verify whether it is sending the session cookie as part of the request header?