Repository: Cloud-CV/EvalAI
Issue: {“detail”:“Authentication credentials were not provided.”}
Root cause: Validation Gap

In the Habitat Challenge 2022, when I try to submit, I found this error
![image](https://github.com/Cloud-CV/EvalAI/assets/74910671/d68d8f1a-7ed8-4848-aa62-8dc3f9bafe0e)
But I really set token before I submit.
![image](https://github.com/Cloud-CV/EvalAI/assets/74910671/4f90257c-6919-4734-8d14-7b555079210f)
I don't know how to solve this problem so that I can submit.


Not sure why the first image is a browser image. Can you please elaborate what you did?

I just use the command `evalai push ori:latest --phase habitat-objectnav-test-standard-2022-1615 --private `
Then I got that url link, I clicked it, then I got the page in the first image.

Hey @gchhablani Same issues here.

I checked the evalai package and tried to print the url, header, and the response in `make_request(path, method, files=None, data=None)`. I replaced my authentication key with "xxxx" below:

```
url    : https://eval.ai/api/challenges/phase/habitat-objectnav-test-standard-2023-1992/
headers: {'Authorization': 'Bearer xxxx'}
<Response [200]>
url    : https://eval.ai/api/challenges/challenge/1992
headers: {'Authorization': 'Bearer xxxx'}
<Response [200]>
url    : https://eval.ai/api/challenges/phases/3969/participant_team/aws/credentials/
headers: {'Authorization': 'Bearer xxxx'}
<Response [500]>
500 Server Error: Internal Server Error for url: https://eval.ai/api/challenges/phases/3969/participant_team/aws/credentials/
```
If I do the same command as @zhangpingrui did, pushing to a challenge I haven't participated in. It actually gives me correct error:

```
url    : https://eval.ai/api/challenges/phase/habitat-objectnav-test-standard-2022-1615/
headers: {'Authorization': 'Bearer xxxx'}
<Response [200]>
url    : https://eval.ai/api/challenges/challenge/1615
headers: {'Authorization': 'Bearer xxxx'}
<Response [200]>
url    : https://eval.ai/api/challenges/phases/3203/participant_team/aws/credentials/
headers: {'Authorization': 'Bearer xxxx'}
<Response [400]>
Error: You have not participated in this challenge.
 ```

I am not sure if this is the right place to post it. But I will also post this on evalai discussion forum. Any help would really be appreciated!

Best,
Kaixian



I'm experiencing the same issue. I hope the maintainers can resolve it. Thanks.

Hi all,
This is a known issue and we are already trying to resolve it.
This is an issue at the host end and I have contacted them already.

Hi @gchhablani, the issue still exists. Could you update the current progress? Thanks.

Is there any updates?


I also encountered this problem.

Hi @wanglei666666666 , Is your issue resolved?

Closing this since it is a very old issue.

@RishabhJain2018 

I am currently encountering this issue as a host at the time of challenge creation / update through Github.

Basically, github runner cannot validate the challenge. 

The same setup with same github secrets, challange authentication team number e.g. were running a week ago.



```
Following errors occurred while validating the challenge config: 403 Client Error: Forbidden for url: https://staging.eval.ai/api/challenges/challenge/challenge_host_team/353/create_or_update_github_challenge/
There was an error while creating an issue: 404 {"message": "Not Found", "documentation_url": "https://docs.github.com/rest/repos/repos#get-a-repository", "status": "404"}

Exiting the challenge_processing_script.py script after failure
```

```
{"detail":"Authentication credentials were not provided."}
```