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

On Tue, 18 Feb, 2025, 9:25 pm Ephraim Iannah, <ephraimiannah2...@gmail.com>
wrote:

> Did you make additional changes in the settings.py file?
>
> On Thu, Feb 13, 2025, 4:01 PM Balaji V <balajivinothkumar152...@gmail.com>
> wrote:
>
>>   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!
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion visit
>> https://groups.google.com/d/msgid/django-users/acad6643-3e00-4898-ae6b-d21a83cf5f66n%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/acad6643-3e00-4898-ae6b-d21a83cf5f66n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/django-users/CALce6JfiAWVe7vEZGWkwTgP%2B%2BzDoNOngOr7eVRjtGEj3ypTDhQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CALce6JfiAWVe7vEZGWkwTgP%2B%2BzDoNOngOr7eVRjtGEj3ypTDhQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/django-users/CAK5m315stJBjBEbgK%2BR7YLvSBeZPvcvxG_DPvh_hEzgfQyEj-A%40mail.gmail.com.

Reply via email to