INVOICING.INVOICE.CANCELLED webhook error in sandbox

cmcenearney
New Community Member

Hi,
I am working on an invoice integration in sandbox.

When I call https://api.sandbox.paypal.com/v1/notifications/simulate-event with the event types listed here

 

https://developer.paypal.com/docs/integration/direct/webhooks/event-names/#invoicing

 

they all work except for INVOICING.INVOICE.CANCELLED. When I try that one I get this error:

 

```

{
"name": "VALIDATION_ERROR",
"message": "Invalid data provided",
"debug_id": "2ac9aa854c667",
"details": [
{
"location": "body",
"issue": "Not a valid Resource Type"
}
],
"links": []
}```
 
Is this expected?
Login to Me Too
2 REPLIES 2

MTS_Justin
Moderator
Moderator
Hello @cmcenearney

Thanks for taking the time to report this issue.

I've been able to re-produce the issue you've referred to and as such, I've submitted a request to the appropriate team to have them investigate this issue and provide a solution.

I'll pin this thread to the top of the sandbox forum and update it once the issue has been resolved.

Apologies for any inconvenience caused.

Thanks !

Was my post helpful? If so, please give me a kudos!
Login to Me Too

MTS_Justin
Moderator
Moderator
Hello,

This issue should now be resolved.

It was resolved in early January. Apologies for the delay in updating the thread.

Thanks !

Was my post helpful? If so, please give me a kudos!
Login to Me Too

Haven't Found your Answer?

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