How to diagnose and fix the 22036 non_numeric_sql_json_item error code in Postgres.
The 22036 error code in PostgreSQL, represented by non_numeric_sql_json_item, indicates that a non-numeric JSON item was encountered where a numeric one was expected. This error typically occurs when you’re performing operations that require numeric JSON values, such as arithmetic operations or functions that expect numbers, but the JSON data includes non-numeric values. Here are a …