I'm unexpectedly getting 403 status codes when calling the perfPowerMetrics APIs for any arbitrary app on my account.
This worked last week, it is not working now. I have since revoked keys and recreated admin and developer keys--no luck, still getting 403. I've been working with the analytics APIs lately so I don't know exactly when the power and performance API stopped working.
I've narrowed it down to something related to the token scope. When I have a scope on this endpoint of "GET /v1/apps/1234567890/perfPowerMetrics" it is rejected -- but the docs say I can create a token and reduce its scope like this. When I remove the scope and let the token be unbounded, the API call returns a valid response.
FB22313063 - App Store Connect API: Fetching xcode metrics with an admin key generated token results in a 403 unexpectedly
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect API
Tags:
MetricKit
App Store Connect API
Organizer Window
1
0
75