Errors

BODY_NOT_JSON

A write takes an application/json body

StatusRetryable
415no

Cause

A write was sent without an application/json body.

What to do

Send the body as JSON with Content-Type: application/json.

Example

{
  "type": "https://docs.fungies.io/api/errors/BODY_NOT_JSON",
  "title": "A write takes an application/json body",
  "status": 415,
  "code": "BODY_NOT_JSON",
  "requestId": "req_01M6QZZQ39PEPXW3GKC68MRHTT",
  "retryable": false
}

See Errors for the fields every error carries.