title: How do I resolve a 400 bad request error using the paypal rest api?
body: <p>I am currently testing credit card payments using the PayPal payments pro Rest API.</p>
  <p>I keep getting the following error:</p>
  <pre><code>Exception in HttpConnection Execute: Invalid HTTP response The remote server returned an error: (400) Bad Request. ---&gt; 
  </code></pre>
  <p>I created  and activated my PayPal test account and as following:</p>
  <pre><code>Credit card
  Credit card number:
  ccnumber here
  Credit card type:
  Visa
  Expiration date:
  3/2019
  </code></pre>
  <p>When I enter the above information in my payment form and submit I keep getting the 400 bad request error.</p>
  <p>I have gotton this to work before with the PayPAl joe shopper account but lost the test cc number.</p>
  <p>I am 100% sure I have authenticated with the oauth2 credentials</p>
  <p>What is the likely cause of this error?:</p>
  <p>I am entering a random payer first name and last name .</p>
  <p>Does the name have to exsist?</p>
  <p>What could be causing the error</p>