Altool upload-app error: Session invalid (4003)

I'm experiencing this issue after I upgrade macOS Sonomo(23A5257q). What should I do?

xcrun altool --upload-app -f upload.IPA -t iOS -u abc@icloud.com -p password --show-progress
2023-06-07 10:00:33.884 Beginning delivery...
2023-06-07 10:00:35.516 *** Error: Error uploading '/Users/abc/Desktop/upload.IPA'.
2023-06-07 10:00:35.516 *** Error: Authentication failure. Session invalid. App Store operation failed. (4003)
 {
    NSLocalizedDescription = "Authentication failure. Session invalid.";
    NSLocalizedFailureReason = "App Store operation failed.";
    NSLocalizedRecoverySuggestion = "Authentication failure. Session invalid.";
}
Answered by RA1NO3O in 761027022

The Apple Feedback team found the issue. They said the reason is caused by the system time format.

"x-request-id" = "20230728112030\U202fAM-027";

After switch to 24 hours time format, altool works normally.

Same error... @RA1NO3O Have you solved it?

Feedback submitted at FB12288713.

Accepted Answer

The Apple Feedback team found the issue. They said the reason is caused by the system time format.

"x-request-id" = "20230728112030\U202fAM-027";

After switch to 24 hours time format, altool works normally.

Altool upload-app error: Session invalid (4003)
 
 
Q