SessionAuthentication - not working

I have the following two lines inside my view:

authentication_classes = [SessionAuthentication]
permission_classes = [IsAuthenticated]

When I GET my endpoint, the response is always:
{"detail":"Authentication credentials were not provided."}

Please help

can anyone help me here please?

Just a side note here: The Django Rest Framework is a third-party package, not part of Django itself.
They have their own support channels identified at Home - Django REST framework

Yes, there are some people here who do try to help with DRF questions, but you may get answers more quickly through the official channels.

You are not sending the sessionid cookie with your requests.