Connect & Get help from fellow developers on our Discord community.
Ask the Community
SDK error codes
Reference list of SDK error codes returned with meanings and suggested fixes.
When you run tests using BrowserStack SDKs, you might encounter error codes that indicate issues with your test execution. This page helps you quickly identify and resolve these errors by providing detailed explanations and actionable fixes for each error code.
How to use this page
- Locate the error code shown in your test logs.
- Read the meaning to understand the root cause.
- Apply the suggested fix and rerun your test.
Error code reference
| Error Code | Description |
|---|---|
| SDK-TRA-001 | The build run appears to be on vanilla Java (generic runner without a supported test framework detected). We currently do not support test reporting for vanilla Java build runs. |
| SDK-TRA-002 | An invalid or unsupported test framework was detected. In such cases, you might notice builds with no tests reported. |
|
SDK-TRA-003 SDK-TRA-004 SDK-TRA-006 |
The test process was interrupted midway which leads to inconsistencies in the test reporting. |
|
SDK-TRA-005 |
The test process was interrupted midway which leads to inconsistencies in the test reporting. Tests might not be visible on the BrowserStack dashboard because we could not find the relevant test framework classes in your project classpath. Tests might not be visible on the BrowserStack dashboard because we could not find the Cucumber dependency in your system classpath. Tests might not be visible on the BrowserStack dashboard because the Cucumber dependency installed with your project is not supported. |
| SDK-TRA-006 | Tests might not be visible on the BrowserStack dashboard because we could not find the relevant test framework classes in the class path on your project. |
| SDK-TRA-007 | Some test details could not be captured or reported to the BrowserStack Test Reporting & Analytics (TRA) dashboard due to an unexpected internal error. |
| SDK-GEN-001 | The BrowserStack SDK could not access or read files within the .browserstack directory located in the user’s home directory. This folder stores essential session, cache, and state information required for proper functionality. |
| SDK-GEN-002 | The BrowserStack SDK could not communicate with BrowserStack cloud services because of network connectivity issues. This may be due to internet outages, blocked outgoing requests, VPN/proxy misconfigurations, or corporate firewall restrictions. |
| SDK-GEN-003 | The BrowserStack SDK encountered an SSL certificate validation error while establishing a secure connection to BrowserStack cloud services. This often occurs due to incorrect system time, outdated root certificates, or SSL interception by corporate proxies. |
| SDK-GEN-004 | The BrowserStack SDK detected user-defined environment variables that conflict with internal environment variables used by the SDK. This can lead to unexpected behaviour or incorrect test reporting. |
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
- RESOURCES
We're sorry to hear that. Please share your feedback so we can do better
Contact our Support team for immediate help while we work on improving our docs.
We're continuously improving our docs. We'd love to know what you liked
Thank you for your valuable feedback!