Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Response Status : 400 in the Api #21

Closed
alejonext opened this Issue · 5 comments

3 participants

@alejonext

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

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

@alejonext

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

Exactly is here
https://github.com/paypal/rest-api-sample-app-nodejs/blob/master/routes/index.js#L277

@avidas
Owner

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

@alejonext

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

@avidas
Owner

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.