Apple Transporter upload failed: 401 for 'appname'"

Issue: Unexpected 401 Error During IPA Upload to Transporter

I am trying to upload an ipa to Transporter (to get a new version on TestFlight) and have successfully done it in the past. However, today I tried to upload and it stopped with this error popup on the screen:

Failed to create the .itmsp for 'Appname'. The web service returned an unexpected status code (401 instead of 200)

Screenshot:

Notes:

  • Tried multiple times today with same issue
  • App is a Xamarin app thus can’t upload the other way (Xcode > Archive)
  • Using Transporter app released by Apple

Answer:

The error “Failed to create the .itmsp for ‘Appname’. The web service returned an unexpected status code (401 instead of 200)” indicates that there is an issue with authentication. Make sure that you are logged in to Transporter with the correct Apple ID and that you have the necessary permissions to upload the app. Additionally, check that your credentials are correct, and if you are using two-factor authentication, make sure that you enter the correct verification code.