Unable to upload to store using altool after account transfer

Good morning,

recently we had our application migrated to a new account due to company changes. In the old account we were able to notarize and publish the application, using notarytool and altool, both as an external installer dmg and on the App Store.

The migration was successful and after signing up for a paid developer program, creating the new certificates and the new application password, we are now able to successfully sign and notarize the application for distributing the dmg package as an external installer.

However we have an issue with the altool used to publish the application on the App Store. It seems a credentials rejection.

This is unfortunately preventing us to deliver updated version of our software to our clients.

Here are the logs for the two commands

The USERNAME, TEAM_ID and APPLICATION_PASS are obviously placeholders by me to not show them in the following requests, and are originally the same in both commands


This is the notarytool command -> SUCCESS

xcrun notarytool history --apple-id "USERNAME" --team-id "TEAM_ID" --password "APPLICATION_PASS"

Successfully received submission history.

createdDate: 2025-01-21T12:24:28.472Z
id: 94e5e0ba-9529-4c38-b36f-1e0369b745ab
name: installer.app.zip
status: Accepted

This is the altool command -> FAILURE

xcrun altool --verbose --list-providers -u "USERNAME" --password "APPLICATION_PASS"                

2025-01-28 11:54:56.589 Verbose logging enabled.

2025-01-28 11:54:56.591 Will look for transporter at executable bundle relative path: /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter

2025-01-28 11:54:56.591 Looking for Transporter at path: /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter

2025-01-28 11:54:56.591 Looking for Transporter at path: /Applications/Xcode.app/Contents/Developer/usr/bin/../SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter

2025-01-28 11:54:56.591 Looking for Transporter at path: /Applications/Xcode.app/Contents/Developer/usr/bin/../itms/bin/iTMSTransporter

2025-01-28 11:54:56.591 Looking for Transporter at path: /Applications/Transporter.app/Contents/itms/bin/iTMSTransporter

2025-01-28 11:54:56.591 Looking for Transporter at path: /usr/local/itms/bin/iTMSTransporter

2025-01-28 11:54:56.591 Using default transporter location: /usr/local/itms/bin/iTMSTransporter

2025-01-28 11:54:56.591 iTMSTransporter is not available. Using REST APIs.

2025-01-28 11:54:57.365 WEB SERVICE REQUEST 'generateAppleConnectToken'           URL: https://contentdelivery.itunes.apple.com/WebObjects/MZLabelService.woa/json/MZITunesSoftwareService

       timeout: 1800

        method: POST

   httpHeaders: {    "Content-Length" = 519;    "Content-Type" = "application/json";    "x-request-id" = "20250128115457-121";    "x-tx-client-name" = altool;    "x-tx-client-version" = "7.006 (15006)";    "x-tx-method" = generateAppleConnectToken;}      httpBody: {    id = "20250128115457-121";    jsonrpc = "2.0";    method = generateAppleConnectToken;    params =     {        Application = altool;        ApplicationBundleId = "com.apple.itunes.altool";        FrameworkVersions =         {            "com.apple.itunes.connect.ITunesConnectFoundation" = "7.006 (15006)";            "com.apple.itunes.connect.ITunesConnectFoundationExtras" = "7.006 (15006)";            "com.apple.itunes.connect.ITunesPackage" = "7.006 (15006)";        };        OSIdentifier = "Mac OS X 13.6.0 (x86_64)";        Password = "**hidden value**";        Username = "USERNAME";        Version = "7.006 (15006)";    };}

2025-01-28 11:54:58.086 WEB SERVICE RESPONSE (generateAppleConnectToken): status code: 200 (no error)   MIME/TYPE: application/json

 httpHeaders: {    "Accept-Language" = "en-GB,en;q=0.9";    "Cache-Control" = "private, no-cache, no-store, must-revalidate, max-age=0";    "Content-Encoding" = gzip;    "Content-Length" = 226;    "Content-Type" = "application/json";    Date = "Tue, 28 Jan 2025 10:54:58 GMT";    Expires = "Thu, 23-Jan-2025 22:35:07 GMT";    Pragma = "no-cache";    Server = "daiquiri/5";    "Strict-Transport-Security" = "max-age=31536000; includeSubDomains";    "apple-originating-system" = MZContentDeliveryProducer;    "apple-seq" = "0.0";    "apple-timing-app" = "78 ms";    "apple-tk" = false;    b3 = "3b39110652b0cc1628618d94eb6c6c66-2eda47dcb3f45d23";    "x-apple-application-instance" = 242515;    "x-apple-application-site" = MR22;    "x-apple-jingle-correlation-key" = HM4RCBSSWDGBMKDBRWKOW3DMMY;    "x-apple-request-uuid" = "3b391106-52b0-cc16-2861-8d94eb6c6c66";    "x-b3-spanid" = 2eda47dcb3f45d23;    "x-b3-traceid" = 3b39110652b0cc1628618d94eb6c6c66;    "x-daiquiri-instance" = "daiquiri:13624001:mr85p00it-hyhk04174601:7987:24RELEASE242:daiquiri-amp-processing-shared-int-001-mr, daiquiri:18493002:mr85p00it-hyhk04114201:7987:24RELEASE242:daiquiri-amp-all-shared-ext-001-mr";    "x-json-content-length" = 454;    "x-request-through-daiquiri-producer" = "mr-internal";    "x-responding-instance" = "MZContentDeliveryProducer:242515:::";    "x-webobjects-loadaverage" = 0;}    httpBody: {"id":"20250128115457-121","jsonrpc":"2.0","error":{"code":1611,"message":"Unable to generate an Apple Connect token at this time due to a general error (1611)"},"result":{"Errors":["Unable to generate an Apple Connect token at this time due to a general error (1611)"],"RestartClient":false,"ErrorCode":1611,"ErrorMessage":"Unable to generate an Apple Connect token at this time due to a general error (1611)","ShouldUseRESTAPIs":false,"Success":false}}

2025-01-28 11:54:58.086 Web service call (generateAppleConnectToken) result: {    ErrorCode = 1611;    ErrorMessage = "Unable to generate an Apple Connect token at this time due to a general error (1\U2026";    Errors =     (        "Unable to generate an Apple Connect token at this time due to a general error (1\U2026"    );    RestartClient = 0;    ShouldUseRESTAPIs = 0;    Success = 0;}

2025-01-28 11:54:58.088 {    ErrorCode = 1611;    ErrorMessage = "Unable to generate an Apple Connect token at this time due to a general error (1611)";    Errors =     (        "Unable to generate an Apple Connect token at this time due to a general error (1611)"    );    RestartClient = 0;    ShouldUseRESTAPIs = 0;    Success = 0;}

2025-01-28 11:54:58.088 Non-localized server string received: 'Unable to generate an Apple Connect token at this time due to a general error'.

2025-01-28 11:54:58.088 Non-localized server string received: 'Unable to generate an Apple Connect token at this time due to a general error'.

2025-01-28 11:54:58.120 Bad status code: <MZWebServiceDAWTokenForUsernameAndPassword: 0x7fdd19908a60>

2025-01-28 11:54:58.121 *** Error: Failed to list providers.

2025-01-28 11:54:58.121 *** Error: Failed to list providers. Failed to get authorization for username 'USERNAME' and password. (    "Error Domain=NSCocoaErrorDomain Code=0 \"Status code: 0\" UserInfo={NSLocalizedDescription=Status code: 0, NSLocalizedFailureReason=The auth server returned a bad status code.}") (-1011) {    NSLocalizedDescription = "Failed to list providers.";    NSLocalizedFailureReason = "Failed to get authorization for username 'USERNAME' and password. (\n    \"Error Domain=NSCocoaErrorDomain Code=0 \\\"Status code: 0\\\" UserInfo={NSLocalizedDescription=Status code: 0, NSLocalizedFailureReason=The auth server returned a bad status code.}\"\n)";}

Good Morning! Anyone on Apple Team has any hint why this is still happening? Or just some procedures to test on our side to solve this blocking error?

Thanks!

Unable to upload to store using altool after account transfer
 
 
Q