I'm trying following endpoint to get instances of a report, https://api.appstoreconnect.apple.com/v1/analyticsReports/{id}/instances but getting an empty response:
{'data': [], 'links': {'self': 'https://api.appstoreconnect.apple.com/v1/analyticsReports/r8-4433f324-ba58-44d0-8b7f-f8976ef36646/instances'}, 'meta': {'paging': {'total': 0, 'limit': 50}}}
I'm accessing "App Sessions Standard" report and correctly passing the instance id to get instances of this report. Also made sure that the App I'm accessing have App sessions data in the console.
This is the order of api requests I implemented:
- 'https://api.appstoreconnect.apple.com/v1/analyticsReportRequests'
- 'https://api.appstoreconnect.apple.com/v1/analyticsReportRequests/{report_id}/reports'
- 'https://api.appstoreconnect.apple.com/v1/analyticsReports/{report_id}/instances'
Source code is provided in the attached file. Would be grateful if someone can help resolve this issue.