bad_sql
HTTP 400 · The game database
What it means
The SQL isn't one statement SQLite takes, or statements isn't a list of { sql, values }.
What to do
Send one statement SQLite takes, with ? for each value, or statements as a list of { sql, values }.
The error's own fix says what to do in that case, and comes first. Search the forum for others who hit it, or see every error.