Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Response Status : 400 in the Api #21

alejonext opened this Issue · 5 comments

3 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)

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


@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.


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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.