razorpay-node: Getting "The requested URL was not found on the server" error on payout api.
Hi team, I am getting the error “The requested URL was not found on the server”
My error is
"statusCode": 400,
"error": {
"code": "BAD_REQUEST_ERROR",
"description": "The requested URL was not found on the server.",
"source": null,
"step": null,
"reason": null,
"metadata": {}
}
My code is
const payOutData={
here I have set all params
}
var paymentDetail= await RZP.transfers.create(payOutData)
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Reactions: 11
- Comments: 18 (2 by maintainers)
@pk4all I am facing same issue . If your issue resolved , please help me in my error. {“error”:{“code”:“BAD_REQUEST_ERROR”,“description”:“The requested URL was not found on the server.”,“source”:“NA”,“step”:“NA”,“reason”:“NA”,“metadata”:{}}}
@pk4all sorry for the late response . the error occurred because your account is not enabled for features also this is an API of Razorpay-X, so you need the Razorpay-X account to access it.
@virendra34 @pnutmath you can use this code-snippet for validate VPA.
instance.payments.validateVpa({ "vpa": "gauravkumar@exampleupi" });Please let us know if you need any help.
I am getting the same error when trying to validate VPA https://api.razorpay.com/v1/payments/validate/vpa