Skip to main content

AI.BAD_JSON

Error code AI.BAD_JSON, raised by packages. Area: AI.

What it means​

  • The model did not return valid JSON

What to do​

  • Retry, lower the temperature or use a stronger model.

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: AI BAD_JSON bad json