MaxNumberOfResources

Hi, im facing this error when I try to create a transfer in sandbox

body: {
    code: 'MaxNumberOfResources',
    message: 'The maximum number of subscriptions has been reached.'
  }
}

Is there any limit?

Hi @lucas , this error message is returned when you’ve reached the max number of webhook subscriptions. While we see most applications maintain one webhook subscription, you can have up to ten active webhook subscriptions in Sandbox, and up to five in Production at a time. I wonder if you might be attempting to create a new subscription with each transfer request?

Hi @spencer, thanks for the reply
It may have happened due to testing (thankfully in sandbox)

Where can I find the webhooks already created and remove them?

Hi @lucas, you can find the list of webhook subscriptions by calling this endpoint -

GET https://api-sandbox.dwolla.com/webhook-subscriptions

Then delete subscriptions by calling this endpoint -

DELETE https://api-sandbox.dwolla.com/webhook-subscriptions/{id}