Skip to main content

JSON.CONVERT_FAILED

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

What it means​

  • '…': cannot convert … to …
  • The new value … cannot be made …

What to do​

  • …Number…Check the value is numeric, e.g. 1234.50, or leave the type out.…DateTime…Use ISO dates such as 2026-10-18 or 2026-10-18T14:30:00, or leave the type out.…Boolean…Use true/false, yes/no or 1/0, or leave the type out.…Leave the type out.
  • …json…Give valid JSON text, e.g. {"a": 1} or [1, 2].…Check the value, or choose another type.

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 CONVERT_FAILED convert failed