-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while uploading to Codecov (Not Found) #222
Comments
I'm getting the same:
|
@jlimas I made an update to the uploader, would you mind trying to see if you are still experiencing the issue? |
Hello @thomasrockhu thanks for the follow up, I'm doing a test right now downloading the tool with this command and the env has the CODECOV_TOKEN setup correctly.
Not sure if this latest build includes the update you mention but the output still is the same. Processing reports/xxxxxx-xxxxxxx.xml... |
That is a disgusting amount of nested throws. 🤦♀️ |
I received a note from another customer that the action is working, are you still seeing this error when running the uploader directly? Either way, I'm adding better logging. |
"Not Found" (404) and "Bad Request" (400) are errors delivered from the server. Was there a recent change on the backend? |
No. I'm operating on the assumption that we are passing bad values. Trust me here, please. |
It's really weird because we use it in bitbucket pipelines and for some branches the upload works and for others it shows that error message, it would be useful to know what Not Found means, I'm guessing it's not about the URL. |
uploader/src/helpers/validate.js Lines 8 to 10 in 677c7ca
The validation is too strict. It's probably not necessary to perform this kind of validation on the client since it's not authoritative with regards to whatever tokens are actually being issued. Furthermore, whatever validation is occurring here would have to occur on the server anyway—keeping track of the validation logic in both places is cumbersome and often error-prone. It might be a good idea to fail early if a value exists but just isn't valid since it indicates there to be some issue with input on the user's end that should be communicated rather than implicitly forgotten through a fallback. Lines 16 to 21 in 677c7ca
Lines 88 to 91 in 677c7ca
|
Maybe use |
Hi all, we have deployed another fix for this which should be live shortly |
We started getting the following error message on our Bitbucket Pipelines.
Detected Bitbucket as the CI provider.
Pinging Codecov: https://codecov.io/upload/v4?package=uploader-0.1.0&token=*******....................
Error!: Error: Error uploading to https://codecov.io: Error: Error uploading to Codecov: Error: Not Found
Didn't see any incident on your website regarding this.
The text was updated successfully, but these errors were encountered: