Sometimes Codecov has trouble while processing your coverage reports and will return an error message. Here are some of the most common ones and possible troubleshooting steps you can try to fix it.


Error Message: "There was an error processing coverage report"


Sometimes Codecov has trouble while processing your coverage reports. To troubleshoot, here are some steps you can try:


  1. Check to see if you're uploading the report correctly. By default, the Codecov uploader will not return failure so as to not block your CI pipeline. To check this, you will need to expand the coverage upload step in your CI to see if there's any errors. If either one of these failed, Codecov did not receive the report and you will need to upload it again.
  2. Try the bash uploader.
    • If you're using a language specific uploader: Try and see if using the bash uploader resolves the issue. 
  3. Try using the -d flag of the bash uploader to verify that are you are not uploading empty reports. 

Error Message: "Unable to find report content in the storage archive"


Sometimes Codecov will return this error message when you're trying to view a report. Some of the possible reasons for this are: 


  1. The report failed to fully upload to Codecov. In this case, check to see if you're uploading the report correctly. By default, the Codecov uploader will not return failure so as to not block your CI pipeline. To check this, you will need to expand the coverage upload step in your CI to see if there's any errors. In the output, verify that the upload and pinging steps were successful. If either one of these failed, Codecov did not receive the report and you will need to upload it again. 
  2. Permissions error