Django installation Forest Admin

Feature(s) impacted

Django Forest Admin first setup.

Observed behavior

After having followed the installation process of Forest Admin on Django (pip install,,,, I find myself with a successful authentication according to the firefox inspector but a failure directly after giving a 403 and thus blocks the continuation of the installation.

Expected behavior

Finish installing Forest Admin on Django and get no more browser errors.Finish installing Forest Admin on Django and get no more browser errors.

Failure Logs

Coté browser:

Coté Logs Django:


  • Project name: Goodvest-CRM-Django
  • Team name: Goodvest Admin
  • Environment name: Django 3.2 + Python 3.8.10
  • Agent type & version: django-forestadmin==1.3.0

Hi @Antoine12,

I checked the data about your project, all seems good in our side.

Could you install the last version of the agent (1.3.1), and try again. There will be some additional content in the 403 response. Could you copy/past here ?

On an other side do you use some custom/external middleware that could intercept the request and return a 403 response?


Hi Valentin and thank you for answering me.

I just upgraded to 1.3.1 and now it shows a 500 as follows:

With this error in my logs:

Also this error in python runserver cli:

InsecureRequestWarning: Unverified HTTPS request is being made to host ''. Adding certificate verification is strongly advised. See:

@Antoine12 perfect, I can investigate about the bug now.
The next answer should be the fix answer :wink:

Could you show me the request headers?


Thank you !

Hi @Antoine12,

So you don’t have an “Authorization” header in your requests ?
Can you say me if you have one cookie named forest_session_token ?


I just hide it.
There is it. I also add a new response that I have and that could help.

Here is my cookie list:

I don’t see forest_session_token cookie inside

The cookie sent are not generated by our code.
Do you use a custom authentication middleware in your own code ?

Could you send me the authentication request and the authentication response body please ?

For now, I used Firefox but I tried on Chrome and it shows another error :