GenniDocs

Guides

Errors and limits

Errors

Every error has the same shape. Quote the request_id (also in the X-Request-Id header) when you contact us.

json
{
  "error": {
    "code": "not_found",
    "message": "Document not found",
    "request_id": "req_2ce537ef5cce9a5e"
  }
}
StatuscodeUsually means
400bad_requestThe request couldn't be understood.
401unauthorizedMissing, invalid or revoked API key.
403forbiddenThe key or user can't do this (e.g. consent changes need a signed-in admin).
404not_foundIt doesn't exist, or belongs to another organisation.
409conflictNot possible in the current state, e.g. reprocessing a document that is already processing.
413payload_too_largeThe file is over 50 MB.
422invalid_requestA field is missing or wrong; details lists each field.
429rate_limitedToo many requests; wait for Retry-After seconds.
500internal_errorSomething went wrong on our side.

Rate limits

Per API key: 300 requests and 30 uploads per minute. Over the limit you get 429 with a Retry-After header in seconds.

Safe retries

Uploading the same file again returns the original document, so an upload can always be retried. Review actions and deletes are safe to repeat.

Next: API reference →