Skip to main content

JSON.BAD_SCHEMA

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

What it means​

  • Referenced schema … is larger than 5 MB
  • Cannot load a schema from '…'
  • Referenced schema … is not valid JSON: …

What to do​

  • Keep referenced schemas under 5 MB, or copy the part you need into the main schema.
  • Use a file next to the schema or an http(s) URL.
  • Check the referenced file.

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_SCHEMA bad schema