You may be out of luck, since all examples given in SQLite's documentation on foreign key constraints (https://sqlite.org/foreignkeys.html) show just the "foreign key constraint failed" message without specifying what exactly caused it, what tables/columns are involved.