Post

Replies

Boosts

Views

Created

Upload error using iTMSTransporter 'An error occurred while trying to call the requested method validateAssets. (1272)'
We have a CD pipeline set up for many apps (we're an app dev agency, we're uploading apps all the time). Uploads of our apps to AppStoreConnect using the iTMSTransporter command line tool started failing a few days ago. If we attempt to upload the same bundle using the Mac Transporter app, it uploads just fine. The problem only seems to be the iTMSTransporter command line tool. The version of the tool we're using is: iTMSTransporter, version 3.3.0 I've also tried running these commands pointing at the version of iTMSTransporter running at /Applications/Transporter.app/Contents/itms/bin/iTMSTransporter but this won't even start due to some Java security certificate issue. An example of the command we are calling is: /usr/local/itms/bin/iTMSTransporter -m upload -v eXtreme -f "/path/to/Bundle.itmsp" -jwt {generatedJwtHere} The bundle appears to actually upload to the AppStore OK, after lots of logs we get a message like: INFO: Reservation committed: (CPUSource221/v4/0b/e5/74/0be57409-0479-3c02-0fa7-6b1e2125342f/http-transport-diagnostic-2323106272954036093.txt) file: (http-transport-diagnostic-2323106272954036093.txt) [2024-10-30 14:48:12 AEDT] <RLT-001> INFO: Finished upload for reservation: (CPUSource221/v4/0b/e5/74/0be57409-0479-3c02-0fa7-6b1e2125342f/http-transport-diagnostic-2323106272954036093.txt) file: (http-transport-diagnostic-2323106272954036093.txt) But then soon after the system fails. Here's the last bunch of lines from the logs: [2024-10-30 14:48:12 AEDT] <main> DBG-X: Using operation named: validateAssets [2024-10-30 14:48:12 AEDT] <main> DBG-X: Apple's web service operation input parameters: [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter Application = iTMSTransporter [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter BaseVersion = 3.3.0 [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter CPUToken = fdc4eb8b-c249-4c70-bf90-8b0878d2de9c/1730248300667 [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter Files = [metadata.xml, App.ipa] [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter MetadataChecksum = c32ad756f090da68830123132a616e3a [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter MetadataCompressed = (suppressed) [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter MetadataInfo = {packageVersion=software4.7} [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter OSIdentifier = Mac OS X 14.5 (aarch64); jvm=17.0.7+7-iTunesOpenJDK-3; jre=17.0.7+7-iTunesOpenJDK-3; arch=arm64; rosetta=true [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter PackageName = Bundle.itmsp [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter PackageSize = 40603953 [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter RequestUUID = 1c12bf85-9ff2-4916-a55c-12dd9e4ab771 [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter StatisticsClientStartDateTimeZoneISO = 2024-10-30T14:48:12+11:00 [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter StreamingInfoList = [file: 97c48494-e436-484d-9a5f-2a84576553338130357476207288847.swinfo.plist.gz, content-length: 194606, content-type: application/binary, MD5: b4df61ca1fb5d74e74b13117619a5cd2] [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter Transport = HTTP [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter TransporterArguments = -m upload -v eXtreme -f /Users/mick/Projects/Catholic Cemeteries/CCC App/Bundle.itmsp -jwt **hidden value** [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter TxTransportVersions = {SigniantTCP=1.3.0, Aspera=1.2.1, Signiant=1.3.0, HTTP=2.1.2.SNAPSHOT} [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter Version = 3.3.0 [2024-10-30 14:48:12 AEDT] <main> DBG-X: parameter iTMSTransporterMode = upload [2024-10-30 14:48:12 AEDT] <main> INFO: id = 20241030144812-155 [2024-10-30 14:48:12 AEDT] <main> DEBUG: SMART-CLIENT: getCurrent(); using pinned data center = contentdelivery01.itunes.apple.com [2024-10-30 14:48:12 AEDT] <main> INFO: iTMSTransporter Correlation Key: 816c0e77-2860-4ba5-9e0d-61d633c61b7f-0001 [2024-10-30 14:48:12 AEDT] <main> DEBUG: SMART-CLIENT: Host HTTP header: contentdelivery01.itunes.apple.com [2024-10-30 14:48:15 AEDT] <main> DBG-X: Apple's web service operation return value: [2024-10-30 14:48:15 AEDT] <main> DBG-X: parameter Errors = [An error occurred while trying to call the requested method validateAssets. (1272)] [2024-10-30 14:48:15 AEDT] <main> DBG-X: parameter RestartClient = false [2024-10-30 14:48:15 AEDT] <main> DBG-X: parameter ErrorCode = 1272 [2024-10-30 14:48:15 AEDT] <main> DBG-X: parameter ErrorMessage = An error occurred while trying to call the requested method validateAssets. (1272) [2024-10-30 14:48:15 AEDT] <main> DBG-X: parameter Success = false [2024-10-30 14:48:15 AEDT] <main> ERROR: An error occurred while trying to call the requested method validateAssets. (1272) [2024-10-30 14:48:15 AEDT] <main> DBG-X: The error code is: 1272 [2024-10-30 14:48:15 AEDT] <main> INFO: Done performing authentication. This problem is affecting all our apps. We've tried apps built using Xcode 15 and 16. All issues are happening on Mac machines.
3
4
920
Oct ’24
All attempts to upload .ipa via iTMSTransporter failing with error in validateAssets method (1272)
We publish many apps using our CI/CD system that makes use of the App Store Connect API and iTMSTransporter. Since around 9:00am on 19 Oct 2023 (Melbourne/Australia time UTC+10), all our attempts to upload our .ipa files using iTMSTransporter began failing. The specific command line invocation is: /usr/local/itms/bin/iTMSTransporter -m upload -v eXtreme -f "/path/to/Bundle.itmsp" -jwt {jwt-here} The error is occurring in the midst of the upload with the error message: Apple's web service operation return value: [2023-10-20 09:35:09 AEDT] <main> DBG-X: parameter Errors = [An error occurred while trying to call the requested method validateAssets. (1272)] [2023-10-20 09:35:09 AEDT] <main> DBG-X: parameter RestartClient = false [2023-10-20 09:35:09 AEDT] <main> DBG-X: parameter ErrorCode = 1272 [2023-10-20 09:35:09 AEDT] <main> DBG-X: parameter ErrorMessage = An error occurred while trying to call the requested method validateAssets. (1272) [2023-10-20 09:35:09 AEDT] <main> DBG-X: parameter Success = false [2023-10-20 09:35:09 AEDT] <main> ERROR: An error occurred while trying to call the requested method validateAssets. (1272) [2023-10-20 09:35:09 AEDT] <main> DBG-X: The error code is: 1272 Is anyone else experiencing this issue? Is there any kind of work around or something we need to change? Some other notes: The same .ipa files can be successfully uploaded manually using Transporter This is affecting apps built against both XCode 14 and XCode 15 There was an outage shown on Apple's system status for a few hours that overlaps with this period, but Apple claim it was resolved 22 hours ago 🙃
2
0
827
Oct ’23
SKProductsRequest returns invalid product identifiers in store version, works in TestFlight
My iOS app has a single Subscription purchase. The in-app purchase flow works as expected in the TestFlight version of the app, however in the store version of the app the purchase flow does not work. The initial call using the SKProductsRequest method is returning the supplied product ID as invalid. I have been over the various checklists of things to consider when receiving these invalid product identifiers (especially the points on https://developer.apple.com/documentation/storekit/skproductsresponse/1505985-invalidproductidentifiers) but I cannot see what I'm doing wrong. Going through the items in Apple's list explicitly: Agree to the latest Apple Developer Program License Agreement. > This is all done. Complete all the financial agreements as described in the Agreements, Tax, and Banking Overview. When you renew your developer membership, see if you need to make updates to your agreements. When your developer membership expires, your financial agreements expire as well. > The 'Paid Apps' agreement is active. Tax Forms are submitted for the United States and Australia. Banking is set up for Australia. Legal entity is in use. Your app uses an explicit App ID. > The app uses an explicit App ID. Clear the in-app purchases for sale in App Store Connect. See Set availability for in-app purchase. > The subscription product shows in App Store Connect with a status of 'Approved' (green tick). Modified in-app purchases are available to the App Store servers. > I'm not sure what this means? The product identifier specified in App Store Connect matches the identifier used by the SKProductsRequest object in your app. > This is correct, as proven by the purchases working in the TestFlight build. Upload the content of your product to App Store Connect. See Upload in-app purchase content to App Store Connect. > We are not hosting any content with our product (I don't believe this applies to Subscription products) I've tried getting support from Apple, but it's like screaming into the void. Hoping that someone in on these forums will have some hints about ways to solve this.
2
0
1.6k
Oct ’22