Comment on page

Can’t load code snippets?

Here's why you might not be able to load code snippets.
Reshift does not store your code in its database to show you where security issues are. Rather, code snippets are dynamically fetched from your code repository as you browse the security report.
Occasionally, Reshift is unable to fetch those code snippets from your repository. This can happen usually for one of two reasons:
  1. 1.
    The branch/commit that was scanned does not exist in the remote repository. To fix this, you simply need to commit/push your code upstream and re-scan. This should register the report with the correct remote branch and fetch the snippets successfully.
  2. 2.
    Git provider API rate limits have been exceeded: This is usually temporary and refreshing the page might solve the issue.
If the issue persists, please reach out to our engineering team via Slack or email.