title: eBay XML Trading API returns Base64 response instead of XML
body: <p>When I call Trading XML API sometimes it returns invalid response with different structure. This is happening for all API calls occasionally.</p>
  
  <blockquote>
    <p>Example:<br>
    section : Trading Api<br>
    type : xml<br>
    call : GetSessionID</p>
  </blockquote>
  
  <p><strong>Input</strong><br>
  <a href="https://i.stack.imgur.com/WY6nZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WY6nZ.png" alt="my XML body"></a>  </p>
  
  <p><strong>Invalid Output</strong><br>
  <a href="https://i.stack.imgur.com/eWtgJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eWtgJ.png" alt="invalid output"></a>  </p>
  
  <p><strong>expected output</strong><br>
  <a href="https://i.stack.imgur.com/xTkLF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xTkLF.png" alt="expected output"></a>  </p>
  
  <p><strong>my questions are</strong>  </p>
  
  <ol>
  <li>what does this output mean?</li>
  <li>why is this happening?</li>
  <li>how to get rid of this?</li>
  </ol>