Error handling
Error
{
"error": {
"message": "[BROWSERSTACK_TEST_NOT_FOUND] The test-suite is invalid. Please pass a valid test_suite_id of the test-suite uploaded on BrowserStack and try again."
}
}
Error Response
App Automate API uses standard HTTP success or error status codes in response. In case of error scenario, we also include extra information about what went wrong encoded in the JSON response.
HTTP response codes
The different HTTP status codes used in the API are listed below:
Code | Description |
---|---|
200 | OK – The request was successful. |
401 | Unauthorized – Your BrowserStack access credentials are invalid. |
404 | Not Found – The requested resource could not be found. |
422 | Unprocessable Entity – Request is well-formed but has semantic errors. The response will provide more details about error. |
5xx | Internal Server Error – Indicates an error with BrowserStack servers. |
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.