Skip to main content

JSON.BAD_TYPE

Error code JSON.BAD_TYPE, raised by packages. Area: JSON.

What it means​

  • Unknown type '…' for '…'
  • Unknown value type '…'

What to do​

  • Use String, Number, DateTime or Boolean.
  • Use as_given, text, number, boolean, json or null.
  • Use String, Number, Boolean, List, Dictionary or Null.

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: JSON BAD_TYPE bad type