Skip to main content

Errors

Every failed request returns success: false and an errors array, alongside an HTTP status code.

Error response
{
"success": false,
"errors": [
{
"code": 1,
"message": "Unauthorized access."
}
]
}

Validation errors (HTTP 422, code 23) add a field property naming the request field that failed, with one entry per field:

Validation error
{
"success": false,
"errors": [
{
"code": 23,
"message": "email must be an email",
"field": "email"
}
]
}

Branch on code, not on the HTTP status​

Most domain errors use HTTP 403, whatever the cause: an operation already in progress, a missing plan feature or an unknown route all return 403. The HTTP status alone doesn't tell you what went wrong; the code does. Don't parse message; it's meant for humans and its wording may change.

The codes you'll meet first​

CodeWhen
1Missing, invalid or revoked token (401).
23The request body failed validation (422); see field.
30Your subscription doesn't include the feature this endpoint needs, for example remote control (403). See Plans and permissions.
33A malformed request, for example an invalid filter or an unknown query parameter (400). See Conventions.
214An earlier operation on this device hasn't finished (403). Wait for its result before sending another.
704No Gateway has seen the device recently, so a command can't be delivered (403).

A command that was accepted can still fail on the device. That failure arrives as a realtime gateway_error event, not as an HTTP error; see Asynchronous operations.

A few codes are shared by two different errors (for example 101 and 301); the table lists each one.

All error codes​

General​

CodeHTTP statusMessage
0500 Internal Server ErrorSomething went wrong and we couldn't process your request.
1401 UnauthorizedUnauthorized access.
2401 UnauthorizedUnauthorized access.
3401 UnauthorizedAuthorization header value is missing.
4403 ForbiddenNo permission.
5429 Too Many RequestsToo many attempts.
6404 Not FoundResource not found.
7404 Not FoundTable doesn't exist or not set.
8403 ForbiddenWrong email/password combination.
9403 ForbiddenEmail not confirmed.
10422 Unprocessable EntityInvalid URL signature.
11403 ForbiddenNot allowed for <role> account role.
12403 ForbiddenWeblink generation not possible; Product doesn't have any gateways.
13403 ForbiddenRoute not found.
13404 Not FoundRoute not found.
14403 ForbiddenCache error.
15403 ForbiddenCan't set start time to future date.
16403 ForbiddenNot allowed for <role> account user role.
17403 ForbiddenYou are not a parking management system user. Please contact customer support for more info.
18403 ForbiddenThis resource already exists.
19403 ForbiddenNot a valid json.
20422 Unprocessable Entity48h time frame for password reset has expired, please request another password reset.
21403 ForbiddenResource not assigned to lot.
23422 Unprocessable EntityValidation error
24403 ForbiddenWrong old password.
25403 ForbiddenAccount with that account_id is not a PMS user.
26422 Unprocessable Entity48h time frame account activation has expired. Contact your admin.
27422 Unprocessable EntityThe file you uploaded is malformed
28400 Bad RequestNo file was uploaded
29400 Bad RequestNot enough products to subscribe
30403 ForbiddenAccount missing proper authorization
31400 Bad RequestYou cannot mix subscriptions and licenses
32422 Unprocessable EntityLicense has all product zeroed
33400 Bad RequestThis is a generic bad request error (the message varies)
34403 ForbiddenPlease reset your password.
35403 ForbiddenWrong email/password combination.
36404 Not FoundEmail not found.
37401 UnauthorizedNo token provided.
38400 Bad Requestmalformed json
40503 Service Unavailablethe message to the remote device timed out
41401 UnauthorizedUser needs to be authorized
43400 Bad RequestLogout is only allowed for account users.
44400 Bad RequestToo many failed attempts
45400 Bad RequestLots filter is required

Gateways​

CodeHTTP statusMessage
100403 ForbiddenCommunication with gateway failed. Please try again later.
101404 Not FoundGateway is not connected.
101404 Not FoundGateway not found.
102403 ForbiddenPlease try again with another signed challenge.
103403 ForbiddenThis gateway can't be used.
104403 ForbiddenGateway owner already set.
105403 ForbiddenInvalid challenge.

Products and licenses​

CodeHTTP statusMessage
200403 ForbiddenCommunication with product failed. Please try again later.
201404 Not FoundProduct not found.
202403 ForbiddenWrong product signature.
204403 ForbiddenNot a v2 barrier.
205403 ForbiddenMaster key already exists.
206403 ForbiddenMaster key not found.
209404 Not FoundProduct not found.
210403 ForbiddenProduct operation doesn't exist.
211403 ForbiddenProduct can't be assigned to a lot that doesn't have any gateways.
212403 ForbiddenProduct weblink not valid.
213403 ForbiddenProduct can't handle this request.
214403 ForbiddenAnother product operation is in process.
215403 ForbiddenProduct weblink is not yet valid or has expired.
216403 ForbiddenProduct update properties are missing.
217403 ForbiddenYou have reached maximum products for this license.
218403 ForbiddenYou don't have licenses for this product.
219403 ForbiddenYou can't reduce license purchased count.
220403 ForbiddenYou can't add lpr and product at the same time.
221403 ForbiddenYou can't add license without any products.
222403 ForbiddenYou can't purchase license that is unavailable.
223403 ForbiddenLpr camera owner already set.
224403 ForbiddenYou can't update license that has been purchased.
225403 ForbiddenLicense with those products already exists.
226403 ForbiddenYou can't request license without any products.
227403 ForbiddenPrevious subscription for that lpr camera doesn't have an activation date set.
228403 ForbiddenCan't extend lpr storage subscription that is ON HOLD.
229403 ForbiddenYou don't have lpr storage subscription for this camera.
230403 ForbiddenYou can't set end time if is_unlimited is true.
232400 Bad RequestLpr Channel not implemented.
233404 Not FoundNo product online.
234404 Not FoundNo product eligible.
235400 Bad RequestLPR camera is not a HIK device.
236400 Bad RequestLPR camera is not a AXIS device.
237403 ForbiddenProduct weblink has reached its maximum number of uses.

Lots and zones​

CodeHTTP statusMessage
300403 ForbiddenCommunication with lot failed. Please try again later.
301404 Not FoundLot not found
301409 ConflictLPR Camera not assigned to zone
302403 ForbiddenLot maximum products reached. Please add another gateway to lot.
303404 Not FoundZone not found.
304400 Bad RequestNo Parking detection active for lot.
305400 Bad RequestDuplicate parking detection.
306403 ForbiddenEnd time is before start time.
307400 Bad RequestZone does not belong to lot.
308400 Bad RequestAt zone must have a parking detection camera for live camera view type.
309400 Bad RequestZones do not have a vector map.
310404 Not FoundZone does not have a vector map.

Sharing and operation keys​

CodeHTTP statusMessage
400500 Internal Server ErrorSomething went wrong and we couldn't process your request.
401404 Not FoundOperation key not found.
402403 ForbiddenEnd time is required when 'is_unlimited' is false.
403403 ForbiddenEnd time must be a future date.
404403 ForbiddenYou can't set <time> time after 2038.
405403 ForbiddenEnd time is before start time.
406404 Not FoundKey file not found.
407403 ForbiddenMax file rows is <allowedRows> while your file has <uploadedFileRows>.
408403 Forbidden<first> time is before <second> time.
409403 ForbiddenStart time must be a future date.
410403 ForbiddenRecurring start time must be a future date.

Updates​

CodeHTTP statusMessage
500500 Internal Server ErrorSomething went wrong with uploading the file.
501404 Not FoundUpdate not found.

Account users​

CodeHTTP statusMessage
600403 ForbiddenAccount user invitation already exists.
601400 Bad RequestAccount user already exists.
602403 ForbiddenPhone number has been taken.

Delivery to devices​

CodeHTTP statusMessage
701403 ForbiddenEmit unsuccessful.
702403 ForbiddenNo available gateway was able to execute the command.
703403 ForbiddenAll gateways are offline.
704403 ForbiddenNo rssi signal.

LPR cameras​

CodeHTTP statusMessage
800422 Unprocessable EntitySocket data invalid.
801422 Unprocessable EntitySocket data type handler not found.
802503 Service UnavailableLPR camera is offline.
803403 ForbiddenLPR camera socket cache not found.

Other​

CodeHTTP statusMessage
901404 Not FoundEntry image not found.
1000400 Bad RequestCannot move to different lot.

Terminals​

CodeHTTP statusMessage
1100404 Not FoundTerminal challenge not found
1101401 UnauthorizedBad challenge signature
1102400 Bad RequestChallenge expired
1103503 Service Unavailableno viable connection to the terminal
1104428 Precondition RequiredTerminal not assigned to zone

Receivers​

CodeHTTP statusMessage
1300403 ForbiddenReceiver not allowed on this zone.

Tariffs​

CodeHTTP statusMessage
1400400 Bad RequestTariff cannot be deleted because some groups contain members.

RGB displays​

CodeHTTP statusMessage
1500403 ForbiddenRgb display owner already set.
1501400 Bad RequestSerial number is not unique.
1502400 Bad RequestvalueTo is required when operator is between.
1503404 Not FoundRGB display does not exist.

Sessions​

CodeHTTP statusMessage
1501404 Not FoundAssociated session not found
1501409 ConflictMaximum members per tariff exceeded
1502403 ForbiddenMember not allowed
1503422 Unprocessable EntityUnkown direction
1505400 Bad RequestNo plate reading associated with session
1506404 Not FoundSession not found

Next step​

See Rate Limits for the 429 case, or the API Reference for the errors each endpoint can return.