Skip to main content

REST.BAD_BODY

Error code REST.BAD_BODY, raised by packages. Area: REST.

What it means​

  • More than one body was given
  • replace_in_body fills placeholders in a text body, but there is no body

What to do​

  • Give only one of json, form, multipart, body or body_file.
  • Write the text body with { {name}} placeholders, or leave replace_in_body empty.

In a Try block, a Catch can match this code. An internal error shows a reference such as ERR-…: an administrator finds the details beside it in the server log.

Search words: REST BAD_BODY bad body