--- title: Troubleshooting code scanning analysis errors shortTitle: Troubleshoot analysis errors intro: Identify and resolve errors that occur during code analysis, including build failures, incomplete scans, resource limits, and unexpected results. versions: fpt: '*' ghes: '*' ghec: '*' contentType: reference children: - /alerts-in-generated-code - /automatic-build-failed - /c-sharp-compiler-unexpectedly-failing - /cannot-enable-codeql-in-a-private-repository - /analysis-takes-too-long - /fewer-lines-scanned-than-expected - /enabling-default-setup-takes-too-long - /advanced-security-must-be-enabled - /out-of-disk-or-memory - /resource-not-accessible - /not-recognized - /no-source-code-seen-during-build - /server-error - /extraction-errors-in-the-database - /logs-not-detailed-enough - /results-different-than-expected - /some-languages-not-analyzed - /two-codeql-workflows - /unclear-what-triggered-a-workflow - /unnecessary-step-found - /kotlin-detected-in-no-build redirect_from: - /code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/troubleshooting-your-default-setup-for-codeql - /code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/troubleshooting-the-codeql-workflow - /code-security/code-scanning/troubleshooting-code-scanning/results-differ-between-platforms - /code-security/code-scanning/troubleshooting-code-scanning - /code-security/how-tos/scan-code-for-vulnerabilities/troubleshooting/troubleshooting-analysis-errors - /code-security/how-tos/scan-code-for-vulnerabilities/troubleshooting ---