500 internal error - cookies related problem

I have a big project in django that a few people uses and I come a cross with a issue when I’m acessing in the production, it gives a 500 internal server error that is resolved when I clean the cookies of my browser, therefore, I would like to know if it could be related to the code and what can I do to stop that from happening

Without (way) more details, there is no way in a century we can help :slight_smile: