Hi, I am trying to run
xcrun altool --list-providers -u my@email.com -p "my-application-specific-password"
My console response looks as follows with a -24169 error when trying to authenticate. I have used this application password in the past with fastlane, but I do not seem to be able to authenticate today.
2023-02-17 10:09:28.753 Initializing bundle from: /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/Frameworks/AppStoreService.framework
2023-02-17 10:09:28.762 Will look for transporter at executable bundle relative path: /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter
2023-02-17 10:09:28.762 Looking for Transporter at path: /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter
2023-02-17 10:09:28.762 Looking for Transporter at path: /Applications/Xcode.app/Contents/Developer/usr/bin/../SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter
2023-02-17 10:09:28.763 Looking for Transporter at path: /Applications/Xcode.app/Contents/Developer/usr/bin/../itms/bin/iTMSTransporter
2023-02-17 10:09:28.763 Looking for Transporter at path: /Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter
2023-02-17 10:09:28.763 Looking for Transporter at path: /usr/local/itms/bin/iTMSTransporter
2023-02-17 10:09:28.763 Using default transporter location: /usr/local/itms/bin/iTMSTransporter
2023-02-17 10:09:28.764 Will look for transporter at executable bundle relative path: /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter
2023-02-17 10:09:28.765 Looking for Transporter at path: /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter
2023-02-17 10:09:28.765 Looking for Transporter at path: /Applications/Xcode.app/Contents/Developer/usr/bin/../SharedFrameworks/ContentDeliveryServices.framework/itms/bin/iTMSTransporter
2023-02-17 10:09:28.765 Looking for Transporter at path: /Applications/Xcode.app/Contents/Developer/usr/bin/../itms/bin/iTMSTransporter
2023-02-17 10:09:28.765 Looking for Transporter at path: /Applications/Application Loader.app/Contents/itms/bin/iTMSTransporter
2023-02-17 10:09:28.766 Looking for Transporter at path: /usr/local/itms/bin/iTMSTransporter
2023-02-17 10:09:28.766 Using default transporter location: /usr/local/itms/bin/iTMSTransporter
2023-02-17 10:09:28.766 iTMSTransporter is not available. Using REST APIs.
2023-02-17 10:09:29.511 jsonURL = https://contentdelivery.itunes.apple.com/WebObjects/MZLabelService.woa/json/MZITunesSoftwareService
2023-02-17 10:09:29.512 jsonRequest as dictionary = {
id = "20230217100929-413";
jsonrpc = "2.0";
method = generateAppleConnectToken;
params = {
Application = altool;
ApplicationBundleId = "com.apple.itunes.altool";
FrameworkVersions = {
"com.apple.itunes.connect.ITunesConnectFoundation" = "6.043 (14043)";
"com.apple.itunes.connect.ITunesConnectFoundationExtras" = "6.043 (14043)";
"com.apple.itunes.connect.ITunesPackage" = "6.043 (14043)";
};
OSIdentifier = "Mac OS X 12.6.0 (x86_64)";
Password = "**hidden value**";
Username = "my@email.com";
Version = "6.043 (14043)";
};
}
2023-02-17 10:09:29.512 Setting request length to: 519
2023-02-17 10:09:29.673 jsonResponse as string = {"result":{"Errors":["Error Description not available (-24169)"],"EnableJWTForAllCalls":false,"RestartClient":false,"ErrorCode":-24169,"ErrorMessage":"Error Description not available (-24169)","ShouldUseRESTAPIs":false,"Success":false},"id":"20230217100929-413","jsonrpc":"2.0","error":{"message":"Error Description not available (-24169)","code":-24169}}
2023-02-17 10:09:29.673 Web service call (generateAppleConnectToken) result: {
EnableJWTForAllCalls = 0;
ErrorCode = "-24169";
ErrorMessage = "Error Description not available (-24169)";
Errors = (
"Error Description not available (-24169)"
);
RestartClient = 0;
ShouldUseRESTAPIs = 0;
Success = 0;
}
2023-02-17 10:09:29.675 Non-localized server string received: 'Error Description not available (-24169)'.
2023-02-17 10:09:29.675 Non-localized server string received: 'Error Description not available (-24169)'.
2023-02-17 10:09:29.676 {
EnableJWTForAllCalls = 0;
ErrorCode = "-24169";
ErrorMessage = "Error Description not available (-24169)";
Errors = (
"Error Description not available (-24169)"
);
RestartClient = 0;
ShouldUseRESTAPIs = 0;
Success = 0;
}
2023-02-17 10:09:29.678 Non-localized server string received: 'Error Description not available'.
2023-02-17 10:09:29.679 Non-localized server string received: 'Error Description not available (-24169)'.
2023-02-17 10:09:29.679 Non-localized server string received: 'Error Description not available'.
2023-02-17 10:09:29.760 Bad status code: <MZWebServiceDAWTokenForUsernameAndPassword: 0x7fc498017800>
2023-02-17 10:09:29.761 *** Error: Failed to list providers.
2023-02-17 10:09:29.761 *** Error: Failed to list providers. Failed to get authorization for username 'my@email.com' 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 'my@email' 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)";
}