Post

Replies

Boosts

Views

Activity

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
409
3w
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
672
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.3k
Oct ’22
Upload of .ipa using Transporter fails with error "Unable to process validateMetadata request at this time due to a general error (1019)"
I am attempting to upload a .ipa for an update of an iOS phone app we have developed, it's a really plain vanilla app, no watch or share extensions or anything like that.I've recently switched to using Transporter to upload apps, as I've generally found this more stable than using XCode (used to use Application Loader, but that's obsolete). This morning when trying to upload the app, it failed with the error message:&gt; Unable to process validateMetadata request at this time due to a general error (1019)I suspect that this is just a temporary outage on the AppStore webservices side, but couldn't find anything in the forums specifically about this issue.For the record, the complete delivery log from Transporter is:[2020-04-08 09:45:53 AEST] INFO: Configuring logging... [2020-04-08 09:45:53 AEST] INFO: Logging level set to eXtreme [2020-04-08 09:45:53 AEST] INFO: Transporter is searching for new software components. [2020-04-08 09:45:53 AEST] INFO: INFO: using cached repository.xml file. [2020-04-08 09:45:54 AEST] INFO: Update check complete. [2020-04-08 09:45:55 AEST] DEBUG: Attempting refresh of configuration data from https://contentdelivery.itunes.apple.com/transporter/Defaults.properties [2020-04-08 09:45:55 AEST] DEBUG: Configuration refresh successful. [2020-04-08 09:45:55 AEST] DEBUG: Saving configuration to local path: /Users/mick/Library/Caches/com.apple.amp.itmstransporter/Defaults.properties [2020-04-08 09:45:55 AEST] INFO: iTMSTransporter : iTunes Store Transporter [2.0.0] [2020-04-08 09:45:55 AEST] INFO: OS identifier: Mac OS X 10.15.4 (x86_64); jvm=25.71-b02; jre=1.8.0-u131-b11-iTMSTransporter-b02 [2020-04-08 09:45:55 AEST] INFO: Memory: [JVM] 1025M free, 1113M total, 1820M max [System] (Physical) 1639M free, 16384M total (Swap) 1414M free, 2048M total [2020-04-08 09:45:55 AEST] INFO: Client: TransporterApp 1.1.1 (1171) [2020-04-08 09:45:55 AEST] INFO: Upload mode selected. [2020-04-08 09:45:55 AEST] DBG-X: Memory: [JVM] 1015M free, 1113M total, 1820M max [System] (Physical) 1639M free, 16384M total (Swap) 1414M free, 2048M total [2020-04-08 09:45:55 AEST] DBG-X: Using operation named: authenticateForTransportDiscovery [2020-04-08 09:45:55 AEST] DBG-X: Apple's web service operation input parameters: [2020-04-08 09:45:55 AEST] DBG-X: parameter Application = iTMSTransporter [2020-04-08 09:45:55 AEST] DBG-X: parameter BaseVersion = 1.13.0 [2020-04-08 09:45:55 AEST] DBG-X: parameter Client = TransporterApp [2020-04-08 09:45:55 AEST] DBG-X: parameter ClientVersion = 1.1.1 (1171) [2020-04-08 09:45:55 AEST] DBG-X: parameter ItcProviderName = 33NJ4N493A [2020-04-08 09:45:55 AEST] DBG-X: parameter OSIdentifier = Mac OS X 10.15.4 (x86_64); jvm=25.71-b02; jre=1.8.0-u131-b11-iTMSTransporter-b02 [2020-04-08 09:45:55 AEST] DBG-X: parameter StatisticsClientStartDateTimeZoneISO = 2020-04-08T09:45:55+10:00 [2020-04-08 09:45:55 AEST] DBG-X: parameter StatisticsPreviousCallDurationInSecs = 0.361119633 [2020-04-08 09:45:55 AEST] DBG-X: parameter TransporterArguments = -m upload -u apple@wemakeapps.net -vp json -sessionid @env:948F8BBC-3A57-4AE4-975D-7A8D8CF019BA -sharedsecret **hidden value** -itc_provider 33NJ4N493A -f /var/folders/mx/f1f9m7z92db24xtjkm3rshb80000gn/T/432F0BB6-90A2-43A8-8584-DF3F64167A40/1462385715.itmsp -indicator true -v eXtreme -Dtransporter.client=TransporterApp -Dtransporter.client.version=1.1.1 (1171) [2020-04-08 09:45:55 AEST] DBG-X: parameter Version = 2.0.0 [2020-04-08 09:45:55 AEST] DBG-X: parameter iTMSTransporterMode = upload [2020-04-08 09:45:55 AEST] INFO: id = 20200408094555-733 [2020-04-08 09:45:55 AEST] INFO: iTMSTransporter Correlation Key: 12fe6f56-874f-4aad-8702-03dcf9ea8748-0001 [2020-04-08 09:45:57 AEST] DBG-X: Apple's web service operation return value: [2020-04-08 09:45:57 AEST] DBG-X: parameter EnableJWTForAllCalls = false [2020-04-08 09:45:57 AEST] DBG-X: parameter PreferredTransports = [HTTP, Signiant, Aspera, DAV] [2020-04-08 09:45:57 AEST] DBG-X: parameter TransportHosts.Signiant = [sgr602.apple.com:44001, sgr601.apple.com:44001, sgr603.apple.com:44001, sgr604.apple.com:44001] [2020-04-08 09:45:57 AEST] DBG-X: parameter SessionExpiration = 2020-04-11T23:45:57.119Z [2020-04-08 09:45:57 AEST] DBG-X: parameter TransportHosts.DAV = [itmsdav.apple.com:443] [2020-04-08 09:45:57 AEST] DBG-X: parameter TransportHosts.Aspera = [vgr503.apple.com:33001, vgr502.apple.com:33001, vgr501.apple.com:33001, vgr504.apple.com:33001] [2020-04-08 09:45:57 AEST] DBG-X: parameter StreamingSettings = {LogStreamingEnabled=true, MultipartUploadsEnabled=true, AssetDescriptionStreamingEnabled=false} [2020-04-08 09:45:57 AEST] INFO: Transporter's command line arguments are: -m upload -u apple@wemakeapps.net -vp json -sessionid @env:948F8BBC-3A57-4AE4-975D-7A8D8CF019BA -sharedsecret **hidden value** -itc_provider 33NJ4N493A -f /var/folders/mx/f1f9m7z92db24xtjkm3rshb80000gn/T/432F0BB6-90A2-43A8-8584-DF3F64167A40/1462385715.itmsp -indicator true -v eXtreme -Dtransporter.client=TransporterApp -Dtransporter.client.version=1.1.1 (1171) [2020-04-08 09:45:57 AEST] INFO: Examining the package at: /var/folders/mx/f1f9m7z92db24xtjkm3rshb80000gn/T/432F0BB6-90A2-43A8-8584-DF3F64167A40/1462385715.itmsp [2020-04-08 09:45:57 AEST] INFO: Ensuring that package has well formed metadata file... [2020-04-08 09:45:57 AEST] DEBUG: Getting case-sensitive metadata xml filename... [2020-04-08 09:45:57 AEST] INFO: Gathering the list of valid files from the package ... [2020-04-08 09:45:57 AEST] DEBUG: metadata.xml will be verified by Apple's web service to determine if it is a valid file. [2020-04-08 09:45:57 AEST] DEBUG: EPestReports.ipa will be verified by Apple's web service to determine if it is a valid file. [2020-04-08 09:45:57 AEST] INFO: Finished gathering the list of valid files from the package. [2020-04-08 09:45:57 AEST] DEBUG: Case-sensitive metadata filename is: metadata.xml [2020-04-08 09:45:57 AEST] INFO: JSON:{"msg":{"phase":"Upload","description":"Analyzing metadata","index":0},"messageType":"VerifyProgress"} [2020-04-08 09:45:57 AEST] INFO: Performing authentication of package 1462385715.itmsp ... [2020-04-08 09:45:57 AEST] DBG-X: Memory: [JVM] 999M free, 1113M total, 1820M max [System] (Physical) 1628M free, 16384M total (Swap) 1414M free, 2048M total [2020-04-08 09:45:57 AEST] INFO: JSON:{"msg":{"phase":"Upload","count":2,"description":"Analyzing metadata","index":1},"messageType":"VerifyProgress"} [2020-04-08 09:45:57 AEST] DBG-X: Deflated 610 bytes to 444 [2020-04-08 09:45:57 AEST] DBG-X: Using operation named: validateMetadata [2020-04-08 09:45:57 AEST] DBG-X: Apple's web service operation input parameters: [2020-04-08 09:45:57 AEST] DBG-X: parameter Application = iTMSTransporter [2020-04-08 09:45:57 AEST] DBG-X: parameter BaseVersion = 1.13.0 [2020-04-08 09:45:57 AEST] DBG-X: parameter Client = TransporterApp [2020-04-08 09:45:57 AEST] DBG-X: parameter ClientVersion = 1.1.1 (1171) [2020-04-08 09:45:57 AEST] DBG-X: parameter Files = [metadata.xml, EPestReports.ipa] [2020-04-08 09:45:57 AEST] DBG-X: parameter ItcProviderName = 33NJ4N493A [2020-04-08 09:45:57 AEST] DBG-X: parameter Metadata = &lt;software_assets apple_id="1462385715" &lt;br=""&gt; bundle_short_version_string="1.2.2" bundle_version="513" bundle_identifier="com.epestreports.ios" app_platform="ios"&gt; &lt;data_file&gt; &lt;file_name&gt;EPestReports.ipa 7e9a6108e72f45ff8a4257f18d412ef8 12389176 [2020-04-08 09:45:57 AEST] DBG-X: parameter MetadataChecksum = 960f359dc0f371b1962cad162b8cfa4b [2020-04-08 09:45:57 AEST] DBG-X: parameter MetadataCompressed = (suppressed) [2020-04-08 09:45:57 AEST] DBG-X: parameter MetadataInfo = {app_platform=ios, primary_bundle_identifier=, device_id=, bundle_identifier=com.epestreports.ios, packageVersion=software5.4, apple_id=1462385715, asset_types=[bundle], bundle_version=513, bundle_short_version_string=1.2.2} [2020-04-08 09:45:57 AEST] DBG-X: parameter OSIdentifier = Mac OS X 10.15.4 (x86_64); jvm=25.71-b02; jre=1.8.0-u131-b11-iTMSTransporter-b02 [2020-04-08 09:45:57 AEST] DBG-X: parameter PackageName = 1462385715.itmsp [2020-04-08 09:45:57 AEST] DBG-X: parameter PackageSize = 12389786 [2020-04-08 09:45:57 AEST] DBG-X: parameter StatisticsClientStartDateTimeZoneISO = 2020-04-08T09:45:57+10:00 [2020-04-08 09:45:57 AEST] DBG-X: parameter TransporterArguments = -m upload -u apple@wemakeapps.net -vp json -sessionid @env:948F8BBC-3A57-4AE4-975D-7A8D8CF019BA -sharedsecret **hidden value** -itc_provider 33NJ4N493A -f /var/folders/mx/f1f9m7z92db24xtjkm3rshb80000gn/T/432F0BB6-90A2-43A8-8584-DF3F64167A40/1462385715.itmsp -indicator true -v eXtreme -Dtransporter.client=TransporterApp -Dtransporter.client.version=1.1.1 (1171) [2020-04-08 09:45:57 AEST] DBG-X: parameter Version = 2.0.0 [2020-04-08 09:45:57 AEST] DBG-X: parameter iTMSTransporterMode = upload [2020-04-08 09:45:57 AEST] INFO: id = 20200408094557-742 [2020-04-08 09:45:57 AEST] INFO: iTMSTransporter Correlation Key: 12fe6f56-874f-4aad-8702-03dcf9ea8748-0001 [2020-04-08 09:46:08 AEST] DBG-X: Apple's web service operation return value: [2020-04-08 09:46:08 AEST] DBG-X: parameter Errors = [Unable to process validateMetadata request at this time due to a general error (1019)] [2020-04-08 09:46:08 AEST] DBG-X: parameter EnableJWTForAllCalls = false [2020-04-08 09:46:08 AEST] DBG-X: parameter RestartClient = false [2020-04-08 09:46:08 AEST] DBG-X: parameter ErrorCode = 1019 [2020-04-08 09:46:08 AEST] DBG-X: parameter ErrorMessage = Unable to process validateMetadata request at this time due to a general error (1019) [2020-04-08 09:46:08 AEST] DBG-X: parameter Success = false [2020-04-08 09:46:08 AEST] ERROR: Unable to process validateMetadata request at this time due to a general error (1019) [2020-04-08 09:46:08 AEST] DBG-X: The error code is: 1019 [2020-04-08 09:46:08 AEST] INFO: JSON:{"msg":{"phase":"Upload","count":2,"description":"Operation failed","index":2},"messageType":"VerifyProgress"} [2020-04-08 09:46:08 AEST] DBG-X: Returning 1 Package Summary: 1 package(s) were not uploaded because they had problems: /var/folders/mx/f1f9m7z92db24xtjkm3rshb80000gn/T/432F0BB6-90A2-43A8-8584-DF3F64167A40/1462385715.itmsp - Error Messages: Unable to process validateMetadata request at this time due to a general error (1019)
0
0
2.3k
Apr ’20