Occasional INVALID_RESOURCE_ID Error with Sandbox Payouts API

plantprogramm3r
Contributor
Contributor

Hi, PayPal sandbox developer team, I occasionally get an error when using the PayPal sandbox payouts API.

 

If I attempt the API call a few seconds later it seems to work - it just seems to be an occasional thing.

 

For reference, I'm making multiple calls in a row to the API with only one transaction per call,  since I don't want the entire call to fail - if I were to put multiple transactions in one POST call, and it failed, I think this may happen if only one email address was not correct.

 

Here is some relevant JSON/extraneous condensed information:

 

 

 

{"name":"INVALID_RESOURCE_ID","message":"The requested resource ID was not found","debug_id":"7b89b5c146f83","information_link":"https://developer.paypal.com/docs/api/payments.payouts-batch/#errors","details":[],"links":[]}

404 Not Found

 

 

 

Is there any way to know what this error exactly means or is there any way to debug the error?

 

I can't find any relevant information for this error with the PayPal Payout API.

 

Also, another question: when I move to production what should be the URL be for obtaining the token? 

 

In the sandbox I see it is - https://api-m.sandbox.paypal.com/v1/oauth2/token.

 

Will it be the same link for production?

 

I appreciate any advice.

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.