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 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)
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
Response Status: 400