Response Status : 400 in the Api #21

alejonext opened this Issue Oct 15, 2013 · 6 comments


None yet

4 participants

The api is generating this error me, and I'm looking at the example that you have

Error: Response Status : 400
    at IncomingMessage.<anonymous> (/home/node_modules/paypal-rest-sdk/lib/paypal-rest-sdk.js:227:27)
    at IncomingMessage.EventEmitter.emit (events.js:117:20)
    at _stream_readable.js:920:16
    at process._tickCallback (node.js:415:13)
aydiv commented Oct 18, 2013

Can you provide more information such as what operation you were trying when you received this error? A 400 error is typically thrown because of invalid data in the API request

All I was doing is to test the application of xample and generates this error when it will generate the purchase.

Exactly is here

avidas commented Jan 30, 2014

@alejonext Are you still encountering this problem?

Would it be possible to let us know what test credentials you were using so that we can try to replicate the failure? Presumably you were using a test account on the sandbox?

I keep finding the same problem, I'm not using the credentials test. This problem is recurring.

avidas commented May 22, 2014

Are you able to use the REST APIs with your sandbox/live credentails to make payments? (e.g. does making the requests via curl requests, or the sdk samples succeed)

@avidas avidas closed this Jun 23, 2014

Was this issue ever resolved?
I'm running into a Response Status: 400 while trying to get a refreshToken via generateToken(config, cb)
I looked through the documents without prevail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment