so i tring to create a really simple app for understanding better how DRF is working and i choose to go with djoser for auth. my code is in the my repo https://github.com/1shaked/todo and i upload all of it to pythonanywhere.
the server is still in development and i tring to create a simple GUI to interact with it
backend https://www.pythonanywhere.com/
front https://elastic-jepsen-ca54ea.netlify.app/
so i am getting wired behavere sometimes i get 401 error unauthorized and sometimes 400 bad request and sometimes i can create a user and login...
so isuue if i get 401 unauthorized why cause i should not get any token when creating the user
and 400 it's not saying why?
sometimes the same request is working when i am tring from diffrent platform like postman ,python or web browser when i run it localy it is working
pls help thx in advance.
it is worth notice this is only happen on production and i mostly get 401 unauthorized for creating user.
so i tring to create a really simple app for understanding better how DRF is working and i choose to go with djoser for auth. my code is in the my repo https://github.com/1shaked/todo and i upload all of it to pythonanywhere. the server is still in development and i tring to create a simple GUI to interact with it backend https://www.pythonanywhere.com/ front https://elastic-jepsen-ca54ea.netlify.app/ so i am getting wired behavere sometimes i get 401 error unauthorized and sometimes 400 bad request and sometimes i can create a user and login... so isuue if i get 401 unauthorized why cause i should not get any token when creating the user and 400 it's not saying why? sometimes the same request is working when i am tring from diffrent platform like postman ,python or web browser when i run it localy it is working pls help thx in advance. it is worth notice this is only happen on production and i mostly get 401 unauthorized for creating user.