App Store Connect API

RSS for tag

The App Store Connect API helps you automate tasks usually done on the Apple Developer website and App Store Connect.

App Store Connect API Documentation

Posts under App Store Connect API tag

208 Posts
Sort by:
Post not yet marked as solved
1 Replies
262 Views
I need to get the app icon from the AppStore Connect API in order to display a list of my apps. However there seems to be no way. I See in the appstoreconnect.apple.com website that the icons are there and available, there is even a function where you can click on it and get the high res version: https://appstoreconnect.apple.com/apps/1504874998/distribution/ios/version/deliverable (this link is of course not available from the outside) I tried builds/{id}/icons which always returns nothing and found an iconAssetToken object in the builds array, but the link is weirdly formatted and leads to nothing. Hope someone can help, I'm fairly new to the API and the usage is quite odd for me so far. Best, Nils
Posted
by
Post not yet marked as solved
3 Replies
366 Views
So all of my iAPs stopped working all of a sudden. Upon investigation I found out that my Paid App Agreement had expired. So under appstore connect business tab I tried to renew the contract, but it doesn't renew! I tried everything but the status is stuck at expiry. This is is causing us financial loss every minute. Here is the detailed video of the issue: https://www.dropbox.com/scl/fi/ydlgc583kt8dlawru04dh/demonstration.mov?rlkey=r5itzirnv65yynmp633dddh8w&dl=0 I have tried safari, chrome, edge on both windows and mac. Any help on this issue would be highily appreciated. Thankyou
Posted
by
Post not yet marked as solved
0 Replies
199 Views
I'm working with this endpoint: https://developer.apple.com/documentation/appstoreconnectapi/list_all_builds_of_an_app Paging says 226 total entries. Max allowed limit to get is 200. The data is sent from oldest to newest, meaning I will never be able to get my latest build data (actually I only want my last build). There is also no sort query. What can I do? This seems to be bugged out. Best, Nils
Posted
by
Post not yet marked as solved
0 Replies
209 Views
As an admin I am trying to download API Key created by account holder. I see download button. I press it. And file is not downloaded. It just redirects me to - https://appstoreconnect.apple.com and that's it. We tried to recreate key, to use different admin accounts, to clear all cookies, use private safari browsing. And we were still not able to download it. Here is the log from Safari right after download button is pressed: Summary URL: https://appstoreconnect.apple.com/ Status: 304 Source: Network Request Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 Referer: https://appstoreconnect.apple.com/access/integrations/api Sec-Fetch-Dest: document Sec-Fetch-Mode: navigate Sec-Fetch-Site: same-origin User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Safari/605.1.15 Response Cache-Control: no-transform, max-age=60 Date: Fri, 15 Mar 2024 14:39:25 GMT ETag: "80beb83745b0987d62825f7280ce98e9" Server: daiquiri/3.0.0 Strict-Transport-Security: max-age=31536000; includeSubDomains; preload x-apple-jingle-correlation-key: 7CJFGHJVIWSG3WWQOYJU6FXDMY x-content-security-policy: script-src 'self' *.apple.com X-Content-Type-Options: nosniff x-daiquiri-instance: daiquiri:31653001:pv50p00it-hyhk10064001:7987:24RELEASE37:daiquiri-amp-all-shared-int-002-pv, daiquiri:38493001:pv50p00it-hyhk12043901:7987:24RELEASE37:daiquiri-amp-all-shared-ext-001-pv X-Frame-Options: SAMEORIGIN X-XSS-Protection: 1; mode=block
Posted
by
Post not yet marked as solved
0 Replies
284 Views
Hi All, We use a small group of Mac mini units running VMs for our Apple CI system. Since you can't login to an Apple ID on an Apple Silicon VM we wanted to use an App Store Connect API token to handle all the authentication for us. In the past this has not worked but I wanted to see if it could now. The answer is no, you can not use an API token with Developer ID Cloud certificates. The reason is that, even on an Admin role token, the DevID certificates are not enabled by default. When you are using an Apple ID this is no big deal as you can check the box to allow access, but with tokens they are minted with only the default settings for the role. This means that the option for Access to Cloud Managed Developer ID Certificates is always disabled and you can't enable it. If we could continue logging in with an Apple ID we could stumble along with that still, but even this ability is gone on AS VMs. Right now this pretty much means that we either give up on using stateless VMs to build or we go back to manually managing all of our code signing materials. The longer term solution would be to move to Xcode Cloud, but that will take us quite some time. I filed FB13687073 to see if there is any way to create a token that can use this checkbox.
Posted
by
Post not yet marked as solved
0 Replies
189 Views
I'm working on an automation for creating and updating in-app purchases using the App Store Connect API, and need to know when to create a new review submission after updating an in-app purchase or any of its associated entities (localizations, prices schedules, etc). I expect a review submission is required when ANY IAP attribute or any attribute of an IAP's associated entity us updated, but I don't have any active IAPs to experiment with in the dashboard in order to confirm that.
Posted
by
Post not yet marked as solved
0 Replies
217 Views
Since about an hour ago we started to get a 404 error when trying to connect to https://api.appstoreconnect.apple.com/v1/salesReports Not sure if this has anything to do with the launch of the Analytics API? Is anybody else having the same issue?
Posted
by
Post not yet marked as solved
0 Replies
275 Views
Hello. I have problem of update app release. When click "release this version" button on Pending Developer Release state, showing this message. "You have one or more errors on this page. An error has occurred. Try again later." On browser inspector network tab "https://appstoreconnect.apple.com/iris/v1/appStoreVersionReleaseRequests" is response 500 internal server error with message { "errors": [{ "status": "500", "code": "UNEXPECTED_ERROR", "title": "An unexpected error occurred.", "detail": "An unexpected error occurred on the server side. If this issue continues, contact us at https://developer.apple.com/contact/." }] } So, I contact to apple support and they are said pass to engineering team my problem. But that is 3 weeks ago, now still I have. try cases : various browsers or other Mac, Windows, iOS Connect App same problem. Automatically release this version after App Review, no earlier then automatic release did not occur even after passed setting date. still "Pending Developer Release" state. Automatically release this version didn't passed app review few days. but passed review immediately when edit release type to manually. and same to release fail. Change version number and upload new build. same problem. Does anyone have the same issue? How did solve it? Is there no other way than waiting for Apple to resolve the issue?
Posted
by
Post not yet marked as solved
0 Replies
309 Views
After Apple seemed to have resolved our issues described here https://forums.developer.apple.com/forums/thread/747102, we are now getting 500 errors for all our sales reports from https://api.appstoreconnect.apple.com/v1/salesReports {'status': '500', 'code': 'UNEXPECTED_ERROR', 'title': 'An unexpected error occurred.', 'detail': 'An unexpected error occurred on the server side. If this issue continues, contact us at https://developer.apple.com/contact/.'}
Posted
by
Post not yet marked as solved
0 Replies
314 Views
I encountered an issue when querying financial data from the AppStore through the API: The error message returned by the API is: { "errors": [ { "status": "500", "code": "UNEXPECTED_ERROR", "title": "An unexpected error occurred.", "detail": "An unexpected error occurred on the server side. If this issue continues, contact us at https://developer.apple.com/contact/." } ] } My request is: curl --location --globoff 'https://api.appstoreconnect.apple.com/v1/financeReports?filter[reportType]=FINANCIAL&filter[regionCode]=US&filter[reportDate]=2023-12&filter[vendorNumber]=90483033' --header 'Authorization: Bearer ***’ What's strange is that this interface was working fine last week. Please help me investigate this issue.
Posted
by
Post not yet marked as solved
1 Replies
463 Views
API urls : https://api.appstoreconnect.apple.com/v1/financeReports https://api.appstoreconnect.apple.com/v1/salesReports I'm getting server errors on both APIs. There was a token error before, but it was resolved and another error occurred the very next day. help us! api_key_id : error message: {'errors': [{'status': '500', 'code': 'UNEXPECTED_ERROR', 'title': 'An unexpected error occurred.', 'detail': 'An unexpected error occurred on the server side. If this issue continues, contact us at https://developer.apple.com/contact/.'}]}
Posted
by
Post not yet marked as solved
0 Replies
234 Views
Hi, I'm trying to create a response for a review through the Apple Store Connect API, but I receive the following error message when sending the body following this documentation: https://developer.apple.com/documentation/appstoreconnectapi/create_or_update_a_response_to_a_customer_review cURL Request --header 'Authorization: {{MY_BEARER_TOKEN}}' \ --header 'Content-Type: application/json' \ --data '{ "attributes": { "responseBody": "{{MY_RESPONSE}}" }, "relationships": { "review": { "data": { "id": "{{REVIEW_ID}}", "type": "customerReviews" } } }, "type": "customerReviewResponses" }' *I changed the cURL to not display real data, but they are filled in my request. Error message: "errors": [ { "id": "5575b9ef-9005-4db2-9a89-123b1aaa9355", "status": "422", "code": "ENTITY_UNPROCESSABLE", "title": "The request entity is not a valid request document object", "detail": "Unexpected or invalid value at 'attributes'.", "meta": { "position": { "row": 2, "column": 20 } } } ] } Can you help me put together the body correctly if that's the case of the error?
Posted
by
Post not yet marked as solved
8 Replies
871 Views
Hey all, This morning when trying to use my API connection to pull my app stats as I always do, I received the following error: This request is forbidden for security reasons: The API key in use does not allow this request My API keys had both Sales and App Manager access like it always did. What I tried already: Creating an API Key on the "Users and Access > Integrations" page with admin access. That's also returning the same error I'm checking the release notes and the documentation but nothing seems to have changed Anyone else with the same problem? I checked with a different developer account and I'm getting exactly the same problem.
Posted
by
Post not yet marked as solved
0 Replies
222 Views
On January 30, 2024, an iOS refund for HX Red Xuan was applied for. The refund was successful on January 31, but the game server did not receive a refund push message. The specific information is as follows: Refund information Refund amount: RMB 7.5 Environment: Production environment Order number in Apple order information: MLJQXD3HWD Application Notification Configuration Notification address: The notification URL protocol is https Notification Version: Version 2 Note: Currently, the same address can receive Apple refund notification information from other applications May I ask what problem caused the application server to not receive a refund notification from Apple's service users?
Posted
by
Post not yet marked as solved
11 Replies
894 Views
We're using https://api.appstoreconnect.apple.com/v1/salesReports to download salesReports everyday and have been running for 4 years. After 2024/02/22 08:00(GMT+8) the api call started to return 403 error { "errors" : [ { "id" : "4e219b15-0d2f-416a-bd66-5c30c314fd44", "status" : "403", "code" : "FORBIDDEN_ERROR", "title" : "This request is forbidden for security reasons", "detail" : "The API key in use does not allow this request" } ] } we checked our key is still valid, and there's no change about the jwt sign method: https://developer.apple.com/documentation/appstoreconnectapi/generating_tokens_for_api_requests we tested keys with ADMIN or FINANCE or ACCESS_TO_REPORTS all return the 403 error above.
Posted
by
Post not yet marked as solved
1 Replies
305 Views
I am setting up an api endpoint in our server to intake apple store V2 notifications and I'm confused on the section outlining root CAs for the verifyAndDecodeNotification method. Are we suppose to download those certs from https://www.apple.com/certificateauthority/ and store them on our server for reference to use in verifyAndDecodeNotification. Seems odd to reference them locally and convert them to buffers for an api call
Posted
by
Post not yet marked as solved
1 Replies
325 Views
We have a number of App Store Connect API keys that we use for various automation tasks. These keys still show as valid in the App Store Connect portal but in the last couple of weeks they all seem to have stopped working. Is there anyway that a key can become invalid?
Posted
by
Post marked as solved
4 Replies
616 Views
Last week I've submitted a new update for review doing the standard procedure for iOS, Mac and Vision. When submitting them both the Mac and Vision App switched to Waiting for Review state but the iOS one got stuck in Ready for Review state. I've tried a few times canceling the submission and submitting again and it always gets stuck in the "Ready for Review" state. Under the App Review section shows as Waiting for Review but on the general page shows Ready for Review. I've tried using the App Store Connect the API and the same thing happens. Any suggestions how to fix this?
Posted
by
Post marked as solved
4 Replies
856 Views
Recently Xcode Cloud has stopped showing new branches on the branch picker. For example, I still see our main branch on the list, but branches that I pushed recently do not appear when trying to generate a manual build. We have another app where none of the branches appear, and the same app (with a different bundle ID we use for Production, they all appear except for the new ones). The GitHub integration seems fine since when PRs are merged to main, all workflows that listen to changes to main work fine, and on the Settings I can see that the last access to the GitHub repository is from a few minutes ago when pushing new things. The same issue happens on the integration of Xcode Cloud inside Xcode, none of the new branches is listed there. Looks like the issue is on whatever lists the branches available. Has anyone noticed this?
Posted
by