Bash Uploader Rejecting Uploads (4xx Error)

Description

When trying to upload coverage statistics for go code, the uploader is consistently failing with 4xx error despite using correct repo upload token specified here: https://docs.codecov.io/docs/about-the-codecov-bash-uploader

Repository

Private (I’ve emailed support)

Versions

MacOS - Mojave

Additional Information

Command Executed:
bash <(curl -s https://codecov.io/bash) -t TOKEN_PASTED_HERE -F go_tests -f go-coverage.txt -B master -v

The response in verbose mode is just the HTML asking the user to sign in.

It ended up being the uploader script not recognizing the slug properly - when I added -r ORG/REPO, it uploaded successfully. Would be nice to see a more descriptive error message for that.

1 Like

Thanks John! I’ll relay your suggestion to the product team.