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.