When trying to use that URL, using an auth token of my user which is definitely the user that created that competition (johannpetrak):
curl -X GET "https://www.codabench.org/api/competitions/2744/results/" -H "accept: application/json" -H "Token: [TOKEN]"
I get the response: {"detail":"You are not a competition admin or superuser"}
Trying the same from python I just get a server error code 500 response.
Using the token works for other protected API calls e.g. downloading the submissions.
However other API calls also do not work as expected e.g. /api/competitions/2744/get_files/ which returns: {"detail":"You don't have access to the competition files"}
When trying to use that URL, using an auth token of my user which is definitely the user that created that competition (johannpetrak):
I get the response:
{"detail":"You are not a competition admin or superuser"}
Trying the same from python I just get a server error code 500 response.
Using the token works for other protected API calls e.g. downloading the submissions.
However other API calls also do not work as expected e.g.
/api/competitions/2744/get_files/
which returns:{"detail":"You don't have access to the competition files"}