Seaquel
MySQL error code

MySQL error 3986

MySQL server error 3986 is ER_IMPLICIT_COMPARISON_FOR_JSON, reported with SQLSTATE HY000.

Evaluating a JSON value in SQL boolean context does an implicit comparison against JSON integer 0; if this is not what you want, consider converting JSON to a SQL numeric type with JSON_VALUE RETURNING
Error3986
NameER_IMPLICIT_COMPARISON_FOR_JSON
SQLSTATEHY000
GroupServer errors

Source: MySQL 8.4 Error Reference