Authentication Error (HTTP 403 Forbidden) When Checking Deploy Status

11 views
Skip to first unread message

Guan-Yan Chen

unread,
Mar 10, 2025, 10:31:58 PM3/10/25
to CoralNet Users

Hi CoralNet Community,

I'm encountering an issue when trying to check the deploy status using the CoralNet API. I receive an HTTP 403 Forbidden error with the following response (Fig):

{ "errors": [ { "detail": "Authentication credentials were not provided." } ] }

I'm certain that my token is valid and I include it in the request header as follows:

headers = {
            "Authorization": f"Token {coralnet_token}",
            "Content-Type": "application/vnd.api+json",
        }

I've double-checked the token and the endpoint, but I still get this error. Has anyone experienced a similar issue or can offer any guidance on what might be wrong?

Thanks in advance for your help!

Best regards,
Yan

Fig.png

Stephen Chan

unread,
Mar 12, 2025, 7:12:23 PM3/12/25
to CoralNet Users
Hi Yan,

I don't see anything wrong with the details you've provided so far. Have you tried making the status request using a curl command, as described in our API tutorial? That way you can determine whether the problem is in the Python code you're using or if it's something else.
Reply all
Reply to author
Forward
0 new messages