Errors and limits
Use HTTP status codes to decide whether to correct, re-authorize or retry a request.
HTTP status codes
| Status | What to do |
|---|---|
400 | Correct the request parameters or body before trying again. |
401 | Refresh or obtain a new access token. Do not repeatedly retry the same token. |
403 | Check the requested permission and whether the user still has access. |
404 | Confirm the identifier and company. The record may not exist or be visible. |
409 | Reload the current record and resolve the conflicting change. |
429 | Wait for the number of seconds in Retry-After. |
5xx | Retry temporary failures with exponential backoff and a maximum attempt count. |
Rate limit
The API currently allows 600 requests per minute for each OAuth client or originating address. A 429 Too Many Requests response includes Retry-After.
HTTP/1.1 429 Too Many Requests
Retry-After: 12
Content-Type: application/problem+jsonSafe retries
Retry only temporary failures. Add random jitter to exponential backoff, cap the delay and stop after a small number of attempts. Never automatically retry a validation or permission error.
Getting support
Keep the correlation ID from the response and provide it with the endpoint, HTTP status and UTC time when contacting the JobTek Help Centre. Do not send access tokens, secrets or private keys.