Post not yet marked as solved
Trying to connect with the api,https://api.appstoreconnect.apple.com/v1/profiles/{profile_id} with method as patch and request body as {
'data': {
'relationships': {
'devices': {
'data': [
{
'type': 'devices',
'id':device_id
}
]
}
}
}
}
it shows 403 error and couldn't find the issue with it.The api key and the auth key file used for generating the jwt token is provided with admin access to all.Through this api we can fetch the details but can't add the device.Please suggest a solution to resolve the issue.
Post not yet marked as solved
Now that provisioning has been added to the App Store Connect API I was wondering if support for enterprise developer accounts will also be added. As of yet there is no way to generate API keys for enterprise accounts.
Post not yet marked as solved
The api key in use have all the admin powers and can't add the device to the provisioning profile
{
"errors" : [ {
"id" : "c17111f3-2f54-4614-9666-59ff351e0d9d",
"status" : "403",
"code" : "FORBIDDEN_ERROR",
"title" : "This request is forbidden for security reasons",
"detail" : "The API key in use does not allow this request"
} ]
}
Post not yet marked as solved
{
"errors" : [ {
"id" : "c17111f3-2f54-4614-9666-59ff351e0d9d",
"status" : "403",
"code" : "FORBIDDEN_ERROR",
"title" : "This request is forbidden for security reasons",
"detail" : "The API key in use does not allow this request"
} ]
}
Post not yet marked as solved
This appleid.cdn-apple.com page can’t be foundNo web page was found for the web address: https://appleid.cdn-apple.com/appleid/button/logo?size=44&color=black&border=false&border_radius=50&scale=2
HTTP ERROR 404
Post not yet marked as solved
I read the following documentation: https://developer.apple.com/documentation/appstoreserverapi/get_refund_history/
But the originalTransactionId parameter is required. As far as I know, it is associated with a certain consumer, so whether this API can only check the refund order associated with a certain consumer, not the entire app
I want to regularly query the refund orders in the entire app without App Store Server Notifications. Is this possible?
Post not yet marked as solved
According to the appstoreconnect json api docs, rates are supposed to be limited to a certain number of requests per hour (in my case it seems to be 3600)
Doc here:
https://developer.apple.com/documentation/appstoreconnectapi/identifying_rate_limits
However, in my usage, I'm getting HTTP 429 RATE_LIMIT_EXCEEDED, while at the same time getting a header back indicating that there are plenty of requests left this hour (e.g. "x-rate-limit": "user-hour-lim:3600;user-hour-rem:3121;").
I'll handle these responses gracefully, and retry them later of course, but we have a lot of iaps to keep up to date, so I'd really like to be able to optimize my request rate so that I don't wind up making a bunch of requests over and over again in hopes of getting them to go through.
Is it possible that there's some secret rate limit for parallelized requests? I've got my updater running in multiple threads in hopes of making the whole process faster, and started by sending them as quick as I could up to the specified limit per hour. In most cases we've only got a few dozen / hundred iaps to update at a time, but I also need it to work in the rare instances when we need to update thousands at once.
I'm also tracking data locally so that I only need to post updates when prices actually change, but sometimes we do put everything on sale.
We found out that we need to know the currency exchange rate used by Apple, and we tried to find this information using the Reporting API v1. Unfortunately, we couldn't find a clear way to get it from the documentation and other sources. We need your assistance and clarification on whether the Reporting API v1 can provide us with the currency exchange rate data or not.
Post not yet marked as solved
Hello, I'm trying to upload assets using the app store connect api, I have successfully created a screenshot set, and created a screenshot reservation and got back the following response:
"data": {
"type": "appScreenshots",
"id": "...",
"attributes": {
"fileSize": 4833,
"fileName": "Untitled.png",
"sourceFileChecksum": null,
"imageAsset": null,
"assetToken": "...",
"assetType": "SCREENSHOT",
"uploadOperations": [
{
"method": "PUT",
"url": "...",
"length": 4833,
"offset": 0,
"requestHeaders": [
{
"name": "Content-Type",
"value": "image/png"
}
]
}
],
"assetDeliveryState": {
"errors": [],
"warnings": null,
"state": "AWAITING_UPLOAD"
}
},
"links": {
"self": "..."
}
},
"links": {
"self": "https://api.appstoreconnect.apple.com/v1/appScreenshots"
}
}
The documentation states that I should use the "UploadOperations" to upload the image using the "put" method and using the url provided in the response under "UploadOperations", however I am not sure what to send in the body of the put request.
I have tried the following but it is returning an empty response:
headers = {
"name": "Content-Type",
"value": "image/png"
}
urlUpload = response.json()["data"]["attributes"]["uploadOperations"][0]["url"]
response = requests.put(urlUploadTo,image=image, headers=headers)
What exactly am I doing wrong here? Is there something I'm missing?
The following link is the link to the documentation explaining how to upload assets.
Post not yet marked as solved
I'm submitting a new version of my app, and after click "submit for Review", it show that:
A few more items are needed in order to submit for review
The items listed below are required for submission:There are still screenshot uploads in progress. I didn't met this problem before. Is that mean I haven't upload all the screenshot required or it's still uploading the screenshots to App Store Connect's server? Cause before there is a "save" button after you drag images to the screenshots area, now you don't.
And I think I have uploaded all the screenshots needed and I waited a day to try submit again, still the same.
What should I do?
Post not yet marked as solved
I'm currently trying to automate the process of retrieving app-specific information such as the Server Notifications URL and the Sandbox Server URL via the App Store Connect API.
From what I could gather from the official API documentation, there doesn't seem to be a way to fetch these URLs programmatically.
Can anyone confirm if these pieces of information are accessible via the API currently or if there are plans to expose this in the future?
Post not yet marked as solved
Hi, I'm trying to obtain the detailed financial report via the API.I'm able to get the aggregated monthly report using filter `reportType: FINANCIAL`,But the doc says another value could be `reportType: FINANCE_DETAIL`, but when I use it I get "There were no sales for the date specified."I'd love to have a detailed report per-transaction or per-day, similar to the web interface "Create Reports" - "All Countries And Regions (Detailed)" option.The documentation in question:https://developer.apple.com/documentation/appstoreconnectapi/download_finance_reportsThanks
Post not yet marked as solved
Hi all,
Currently we are extracting App Store data (such as downloads) via FiveTran. We noticed that Apple disables our Apple ID since we use the connector. They don't have an explanation for it, but it could be that it violates their policy in a way. Does anyone has experience with this issue? And know how to avoid it (limiting the amount of API-calls or something)
Thanks a lot!
Post not yet marked as solved
Hi Everyone,
When you create Auto Renewable subscription price through App Store Connect site - you are able to set only 1 price (say for USA in USD) - and all the rest prices for 175 countries will set automatically. How to set same logic through using request with App Store Connect API? My current logic is:
I'm using List All Price Points for a Subscription GET request to get all price points for specific subscriptionID (Docs: https://developer.apple.com/documentation/appstoreconnectapi/list_all_price_points_for_a_subscription)
In the response I'm searching for specific price for USA (say $0.99) and getting it's price point ID
Then using POST request to Create a Subscription Price Change (Docs: https://developer.apple.com/documentation/appstoreconnectapi/create_a_subscription_price_change) with pricePointID from the previous step.
And it's setting the price indeed, BUT for USA only, so I'm not getting this automatically applied 175 countries list for free.
Please let me know if there a way to set it automatically somehow, or should I manually calculate all 175 countries for myself somehow and to use 175 requests for each plan (I doubt it)
While deploying the apps to app store connect, I am getting a mail from app store connect stating:
ITMS-90725: SDK Version Issue - This app was built with the iOS 15.5 SDK. All iOS apps submitted to the App Store must be built with the iOS 15 SDK or later, included in Xcode 13 or later.
For context, my minimum deployment version is set to 15.0 and building the apps with xcode 13.4 (ios 15.5).
Can anyone please help me with this.
Post not yet marked as solved
I have signed into App Store Connect, and after logging in I am taken to this page:
https://appstoreconnect.apple.com/review_agree
This page doesn't load anything so I can't proceed with login. Please help. Thanks.
Post not yet marked as solved
Hi,
Tried Connect API to pull Sales and Trends summary for week and here is difference in units numbers:
From Connect API, seeing units as below summing to 2312
While seeing 1.28K units for same in dashboard as below.
Looking for an explanation of this discrepancy and advice on which source to use for reliable data.
Post not yet marked as solved
I have two bundle ids, but they seems to be missing and I cant select anyone. this is why I cant create a new app.
Post not yet marked as solved
I am trying to install app using the App Store Connect API but no success. I am using this api "https://api.appstoreconnect.apple.com/v1/installations" to install app on device but getting error
{
"errors": [
{
"status": "404",
"code": "NOT_FOUND",
"title": "The specified resource does not exist",
"detail": "The path provided does not match a defined resource type."
}
]
}
Please let me know if i am missing something.
Post not yet marked as solved
Using the App Store Connect API how can you get the release date for an app? I've been able to use this endpoint to list a bunch of information, however the release date is not included.
As you can see in the JSON response posted below, it does have a "createdDate" but this corresponds to when the version was made in App Store Connect (Prepare for Submission), not when it was released to the store. This can be verified by looking in App Store connect.
JSON Response:
https://api.appstoreconnect.apple.com/v1/apps/395389919/appStoreVersions?limit=1
{
"data": [
{
"type": "appStoreVersions",
"id": "a75acc6e-9429-4539-a282-eadef235169e",
"attributes": {
"platform": "IOS",
"versionString": "5.9.0",
"appStoreState": "READY_FOR_SALE",
"copyright": "InterPro Solutions, LLC",
"releaseType": "MANUAL",
"earliestReleaseDate": null,
"usesIdfa": null,
"downloadable": true,
"createdDate": "2021-10-11T08:37:22-07:00"
},
"relationships": {
"ageRatingDeclaration": {
"links": {
"self": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/relationships/ageRatingDeclaration",
"related": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/ageRatingDeclaration"
}
},
"appStoreVersionLocalizations": {
"links": {
"self": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/relationships/appStoreVersionLocalizations",
"related": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/appStoreVersionLocalizations"
}
},
"build": {
"links": {
"self": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/relationships/build",
"related": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/build"
}
},
"appStoreVersionPhasedRelease": {
"links": {
"self": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/relationships/appStoreVersionPhasedRelease",
"related": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/appStoreVersionPhasedRelease"
}
},
"routingAppCoverage": {
"links": {
"self": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/relationships/routingAppCoverage",
"related": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/routingAppCoverage"
}
},
"appStoreReviewDetail": {
"links": {
"self": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/relationships/appStoreReviewDetail",
"related": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/appStoreReviewDetail"
}
},
"appStoreVersionSubmission": {
"links": {
"self": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/relationships/appStoreVersionSubmission",
"related": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/appStoreVersionSubmission"
}
},
"idfaDeclaration": {
"links": {
"self": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/relationships/idfaDeclaration",
"related": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/idfaDeclaration"
}
},
"appClipDefaultExperience": {
"links": {
"self": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/relationships/appClipDefaultExperience",
"related": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e/appClipDefaultExperience"
}
}
},
"links": {
"self": "https://api.appstoreconnect.apple.com/v1/appStoreVersions/a75acc6e-9429-4539-a282-eadef235169e"
}
}
],
"links": {
"self": "https://api.appstoreconnect.apple.com/v1/apps/395389919/appStoreVersions?limit=1",
"next": "https://api.appstoreconnect.apple.com/v1/apps/395389919/appStoreVersions?cursor=AQ.ANZyDDk&limit=1"
},
"meta": {
"paging": {
"total": 68,
"limit": 1
}
}
}