Token Generation Errors on Login

82 views
Skip to first unread message

Balaji V

unread,
Feb 13, 2025, 3:03:35 PMFeb 13
to Django users
  Hi, I'm new to Django. When I try to generate a login token, I receive these errors:
  {"detail": "Authentication credentials were not provided."}
{"error_short": "Module is not Assigned", "status": "failed"}

Any help resolving these issues.Thanks!

Sri Santhosh

unread,
Feb 13, 2025, 3:15:54 PMFeb 13
to django...@googlegroups.com

First you need to encrypt that then decrypt


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/acad6643-3e00-4898-ae6b-d21a83cf5f66n%40googlegroups.com.

Ephraim Iannah

unread,
Feb 18, 2025, 3:55:53 PMFeb 18
to django...@googlegroups.com

Did you make additional changes in the settings.py file?


--

RANGA BHARATH JINKA

unread,
Feb 19, 2025, 3:38:40 AMFeb 19
to django...@googlegroups.com

Hi,

You have to provide a bearer token in the headers. Test in postman with the bearer token. If you don't provide the token you will get this error.

All the best


Balaji Vinothkumar

unread,
Feb 19, 2025, 11:22:21 PMFeb 19
to Django users
  Thanks a lot! Your help fixed my issue. Really appreciate the support!  
Reply all
Reply to author
Forward
0 new messages