Skip to content

Errors

Every error answers {"detail": …}. Where a client can act on the case, detail is an object whose code names it, with a message and, for some cases, more fields: a plan_limit also carries limit, allowed, used and plan. Otherwise detail is a message.

Status Meaning
400 An invalid or unknown option, a missing file, a refused query, or a missing confirmation
401 Missing or invalid token
402 insufficient_balance: the jobs' holds are more than your available balance
403 pending_approval: the account awaits approval; email_unconfirmed: confirm your email; terms_not_accepted: accept the current terms of service (POST /me/terms); or the account is suspended
404 No such job, project, ontology or document, or not yours; unknown_sample: no such sample; gallery_entry_not_found: no such gallery entry; units_not_found: no text is kept for the job's parts; preview_not_found: the job has no preview yet, or it has finished; share_not_found: no such share, or it was revoked
409 plan_limit: the action would pass a limit of your plan; ontology_writer_running: a job is writing the project's ontologies; ontology_exists: the id names another ontology of the project, or the project already holds the gallery entry; ontology_iri_differs: the file's IRI is a stored ontology's spelled with another scheme or a trailing /; head_version: a head cannot be removed alone; ontology_id_ambiguous: the id names several ontologies; sign_in_conflict: the account is linked to another sign-in; not_kept: the job's converted document was not kept, so it cannot run again; not_extracted: feedback on an imported graph, which no extraction produced; job_not_finished: feedback on a job that has not finished; sample_exists: you already have a project holding this sample; sample_read_only: a write into a sample project (delete the project to remove it); too_many_shares: the job has its most live share links (revoke one); terms_version_stale: the terms you accepted are not the published version (read it again); terms_not_published: no terms of service are published. Also: a result asked for before the job finished, or a running job deleted
410 results_removed or ontology_version_removed: what the job wrote or read was deleted since
411 The upload has no Content-Length
413 The upload, or a document's text, is too large; too_large: the graphs asked for together hold more triples than one request returns
415 A file type or content that is not accepted
422 max_cost_below_fee: max_cost_eur does not cover the job's fees; too_many_files; for ontology uploads not_an_ontology, several_ontologies, ontology_iri_has_fragment, invalid_ontology_iri or invalid_ontology_id, and for a new version ontology_iri_changed; for shapes uploads no_shapes. Also an invalid body
429 queue_full: too many unfinished jobs; or too many requests. Retry after Retry-After seconds
500 catalog_invalid: a stored ontology graph has no version header
502 A store failed; retry. store_failed: the triple store failed reading a job's facts (comparisons, share links)
503 waking: the platform is starting up, retry after Retry-After seconds; pricing_unconfigured: prices are not set yet; upload_failed: the upload could not be stored, try again; sample_failed: the sample could not be added, retry