> ## Documentation Index
> Fetch the complete documentation index at: https://hilo.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Errors

> Every error the partner API returns, and what to do about it.

| Status | Code | What to do |
| - | - | - |
| 400 | `invalid_json` | Send a JSON object |
| 401 | `missing_api_key`, `invalid_api_key` | Check the `Authorization` header |
| 401 | `api_key_revoked`, `api_key_expired` | Make a new key in the portal |
| 403 | `insufficient_scope` | The key needs another scope |
| 403 | `not_allowed` | Ask Hilo to turn this on for your account |
| 403 | `feature_off` | The business has this feature turned off |
| 403 | `ip_not_allowed`, `partner_suspended` | The key is limited to other IP addresses, or your account is suspended |
| 404 | `not_found`, `employee_not_found`, `report_not_found` | Check the id. Other partners' businesses also answer `not_found`. |
| 409 | `already_clocked_in`, `not_clocked_in`, `no_break` | The person isn't in the state you expected; read their status first |
| 409 | `version_conflict` | Someone changed the entry; read it again |
| 409 | `period_locked` | The pay period is approved; the business has to reopen it in Hilo |
| 409 | `org_suspended` | Reactivate the business first |
| 409 | `duplicate_external_id` | Another business or employee already has that id |
| 422 | `performed_by_required` | Add `performedBy` |
| 422 | `sensitive_field` | Leave that field out: it's entered in Hilo |
| 422 | `legal_name_in_hilo` | The business changes legal names in Hilo |
| 422 | anything else | A field is missing or wrong; the message says which |
| 429 | `rate_limited` | Wait a minute and retry |
| 500 | `internal_error` | Retry with the same `Idempotency-Key` or `requestId` |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.