400 | Validation error | A field is missing, has the wrong type or is out of range. details names it. | No | Fix the request. |
400 | provider_id is not a provider in your organization | The provider_id isn’t a member of the key’s organization. | No | Use an id from GET /providers. |
400 | No file provided, File content does not match its extension (...) | Upload problem. | No | Send a PDF, JPEG, PNG or DOCX whose content matches its extension. |
401 | Missing X-API-Key header | No key sent. | No | Send X-API-Key: hlsk_.... |
401 | Invalid API key | The key is wrong or was deleted. | No | Check the key, or create a new one. |
401 | API key has been revoked, API key has expired | The key no longer works. | No | Create a new key. See rotation. |
402 | No Scribe sessions left. | Note generation from text or audio needs a Scribe session and the plan has none left. | No | Upgrade the plan or wait for it to renew. |
403 | Insufficient scope. Required: notes:write | The key lacks the scope named. | No | Create a key with that scope. See scopes. |
404 | Patient not found, Session not found, … | The record doesn’t exist or belongs to another organization. Also returned by external_id lookups that match nothing. | No | Check the id and that the key is for the right organization. |
409 | external_id already in use | Another record in your organization has this external_id. | No | Use existing.id from the response. |
409 | The same text is already being processed for this patient. | A request for this patient is being submitted right now. | No | Wait for that request’s 202, then check its session. Resending later creates a second note. |
409 | Session is not ready for regeneration (status: ...) | Only completed sessions can be regenerated. | Later | Wait for the session to complete. |
409 | Manual-text sessions cannot be regenerated via this endpoint | Notes from text are regenerated differently. | No | Generate a new note with POST /notes/from-text. |
409 | Varies (from PATCH /sessions/{sessionId}) | A note of this session was already sent to an EHR, so the session can’t move to another patient. | No | Correct the patient in the EHR. |
409 | Statuses were checked recently; try again in N min. | Prior-auth decisions were read less than 10 minutes ago. | After N min | Wait. |
413 | Request body is too large (limit N MB) | Over 1 MB of JSON, 10 MB for a document or 100 MB for audio. | No | Send a smaller body or file. |
422 | No documents with extracted text for this patient. ... | Note from documents asked for before any document finished extraction. | Later | Wait for a document to reach completed. |
422 | Payer message, code PAYER_VALIDATION_ERROR | The payer rejected the eligibility request. | No | Check the member details. |
429 | Rate limit exceeded. Please retry after the window resets. | Over the limit of about 60 requests a minute for this key. | Yes | Wait for Retry-After seconds. See rate limiting. |
429 | Too many uploads in progress for this API key (limit 2 at a time). ... | A third document or audio upload sent while this key already has two in progress on the same API server. | Yes | Wait for an upload to finish, or Retry-After seconds. See concurrent uploads. |
429 | Too many uploads in progress for this organization. ... | The organization’s API keys together have as many uploads in progress as it allows (about 4) on the same API server. | Yes | Wait for an upload to finish, or Retry-After seconds. |
429 | The server is busy with other uploads. Please retry shortly. | The API server is handling as many uploads as it allows at once, from all customers. | Yes | Wait Retry-After seconds, then retry with backoff. |
429 | Too many requests. Please try again later. | Over an endpoint’s own limit, such as 10 eligibility checks a minute. | Yes | Wait until the next minute. |
500 | Something went wrong. Please try again. | A HealOS error. | Yes, with backoff (not eligibility checks, see below) | If it persists, contact support with the time and endpoint. |
502, 504 | Eligibility service errors | The payer or clearinghouse failed or timed out. | Yes, with backoff | Wait, then retry once. |
503 | Failed to queue note generation; please retry, eligibility unavailable | A HealOS service is briefly unavailable. | Yes, with backoff | Retry after a short wait. |