title: PayPal Sandbox - Error 10002: You do not have permission to make this API call
body: <p>I'm trying to use the PayPal API for express checkout using PHP. I used <a href="http://www.sanwebe.com/2012/07/paypal-expresscheckout-with-php" rel="nofollow">this guide</a> as a template. When connecting, I receive the error message: </p>
  
  <pre><code>[TIMESTAMP] =&gt; 2015%2d07%2d20T15%3a32%3a37Z
  [CORRELATIONID] =&gt; 3a93310587276
  [ACK] =&gt; Failure
  [VERSION] =&gt; 109%2e0
  [BUILD] =&gt; 17403434
  [L_ERRORCODE0] =&gt; 10002
  [L_SHORTMESSAGE0] =&gt; Authentication%2fAuthorization%20Failed
  [L_LONGMESSAGE0] =&gt; You%20do%20not%20have%20permissions%20to%20make%20this%20API%20call
  [L_SEVERITYCODE0] =&gt; Error
  </code></pre>
  
  <p>The error has no correction listed in the errorcode doc: 
  developer.paypal.com/docs/classic/api/errorcodes/</p>
  
  <p>Upon further research into the error, I read <a href="https://help.yahoo.com/kb/SLN19342.html" rel="nofollow">here</a> that you must confirm your email on your paypal account, which I have. Since I'm using a sandbox api account, I also attempted to confirm it, however when I try to from the notifications panel under sandbox test accounts, and I copy/paste the confirmation link into my browser, it tells me the confirmation code is invalid, even if I paste it into the input field. But if I log into the sandbox site with the sandbox account whose email I'm trying to confirm, and when I click confirm in the email section on the email which failed to confirm before, it now says it's already confirmed. Still receiving the above error though.</p>
  
  <p>I've made sure to use the sandbox account api credentials when configuring the connection. It's also a business-pro sandbox account, and the endpoint is for sandbox.</p>
  
  <p>Is there anything obvious that I've missed? </p>
  
  <p>Is there anything additional I should post?</p>