title: Uploading IPA to apple with altool not working
body: <p>So I'm trying to upload my ipa to apple. but this stopped working...</p>
  
  <pre><code>xcrun altool --upload-app -f ./dist/myapp.ipa -t ios --apiKey "KEY_HERE" --apiIssuer "ISSUER_HERE"
  </code></pre>
  
  <p>I'm getting:</p>
  
  <blockquote>
  <pre><code>Request ID: FTP34GRCKE5NK6HNMWTJXEN7.0.0
  2019-10-22 10:39:33.371 altool[72993:10589325] *** Error: Errors uploading './dist/myapp.ipa': (
      "Error Domain=NSCocoaErrorDomain Code=-1011 \"Authentication failed\" UserInfo={NSLocalizedDescription=Authentication failed, NSLocalizedFailureReason=Failed to authenticate for session: (\n    \"Error Domain=ITunesConnectionAuthenticationErrorDomain Code=-26000 \\\"The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later.\\\" UserInfo={NSLocalizedRecoverySuggestion=The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later., NSLocalizedDescription=The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later., NSLocalizedFailureReason=App Store operation failed.}\"\n)}"
  </code></pre>
  </blockquote>
  
  <p>But when I log into iTunes connect the key is still valid. I have no idea why this isn't working any longer. I thought it might be the Key, but I made a new one and still get the same error.</p>
  
  <blockquote>
  <pre><code>xcrun version 48.
  Xcode version Version 11.1 (11A1027)
  </code></pre>
  </blockquote>