Outdated version

You are browsing the docs for Nexus v1.9.x, the latest release is available here

Error Signaling

Nexus Delta makes use of the HTTP status codes to report the outcome of each API call. The status codes are complemented by a consistent response data model for reporting client and system level failures.

Format
source{
  "@context": "https://bluebrain.github.io/nexus/contexts/error.json",
  "@type": "<a machine readable unique identifier>",
  "reason": "<a human readable description of the error>"
}
Example
source{
  "@context": "https://bluebrain.github.io/nexus/contexts/error.json",
  "@type": "IllegalFilterFormat",
  "reason": "Unable to parse 'path' as an uri",
  "field": "DownField(filter)/DownField(path)"
}

In addition to mandatory @type and reason fields, arbitrary fields may be present for extra information in certain scenarios.