Links

TestProject External API troubleshoot common issues

TestProject External API troubleshoot common issues
When you are getting started with TestProject External API you might come across some errors, this article will troubleshoot common issues when using TestProject API.

Common fixes:

Did you authorize the page to use the API key? check that you are using an authorization token (API Token) with access to the correct Project.
Make sure to change the required data on the example values, the default data is an example of a valid JSON object and will not match your details.

400: Bad request

Make sure to delete the details in the body,
In case you want to use details make sure you provide them in a valid JSON object format.

401: Not authorized

Solution: use the API Key in the lock on the right side.

404: Not found

Solution: your test/project was not found make sure you provided the correct project and test/job IDs.
Also, make sure to check that you have all the required data to execute the request.

201: The execution was queued

This is not an error - it means the job/test was queued because the agent was busy at the time of the request, the execution was queued and will begin when there are available workers.