Troubleshooting SARIF uploads - GitHub Docs
Skip to main content

Troubleshooting SARIF uploads

Learn how to resolve problems uploading SARIF files of code scanning results to GitHub.

Upload fails because GitHub Code Security is disabled

You can only upload SARIF results to private or internal repositories where GitHub Code Security is enabled.

Upload was rejected because CodeQL default setup is enabled for code scanning

You cannot upload SARIF results generated by the CodeQL action or CodeQL CLI when default setup for code scanning is enabled. Check your configuration and decide whether to keep default setup or unblock SARIF upload.

GitHub token is required to upload SARIF results

You need to provide an authentication method for the upload process to use to access the repository.

SARIF file is invalid

Code scanning can only process syntactically valid SARIF files. Invalid files are rejected.

SARIF results file is too large

You cannot upload a SARIF results file larger than 10 MB to code scanning. Explore ways to generate a smaller file containing the highest impact results.

SARIF results exceed one or more limits

Learn how to resolve problems when a SARIF file is rejected by code scanning because one or more limits is exceeded.

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.