Response codes

What response codes mean and how to deal with them

The Intruder API uses standard HTTP response codes to indicate the success or failure of an API request.

Response codes in the 2xx range mean the request was successful.

Response codes in the 4xx range mean something went wrong because of the information you provided (e.g. a required parameter was missing or invalid).

Response codes in the 5xx range mean something went wrong on Intruder's end (these errors are rare).

Here's an overview of the most common response codes:

HTTP status codeMeaning
200 - OKEverything worked as expected.
201 - CreatedThe resource was created, e.g. a new target.
202 - AcceptedThe request was accepted and is being processed, e.g. a new scan.
204 - No ContentThe request succeeded and there's nothing to return, e.g. after a deletion.
400 - Bad RequestThe request was unacceptable, often due to a missing or invalid parameter.
401 - UnauthorisedThe access token is missing, invalid, expired or revoked.
403 - ForbiddenYour plan or user role doesn't allow this request. API access requires an admin user on a Cloud, Pro, Enterprise or Vanguard plan.
404 - Not FoundThe requested resource doesn't exist.
422 - Unprocessable EntityThe request was understood but couldn't be processed (e.g. when attempting to create too many active scans).
429 - Too Many RequestsToo many requests hit the API too quickly. Wait for the time given in the Retry-After header; we recommend an exponential backoff of your requests.
500, 502, 503, 504 - Server ErrorsSomething went wrong on Intruder's end. (These are rare.)

Did this page help you?