Symptom
When canceling phone numbers using the Numbers API through the cancel endpoint, occasionally a 420 error response occurs with a status message "method-failed".
Applies To
- Numbers API
Resolution
- Make sure the number exists for purchase or cancel.
- Reduce the speed at which making API requests, which may also trigger this error.
Cause
When trying to buy or cancel a non-existing number or a number that has been owned by another account, the API request will respond with error 420 "method failed".
Articles in this section
- 420 Method Failed When Cancelling a Number
- How to programmatically update your Number Forwarding to a SIP URI using Numbers API?
- Unable to Search Long Virtual Numbers after Deleted from My Account
- How do I cancel or delete LVNs from my account?
- Colombia Local Number Prefix Change
- Can I restrict a virtual number to only accept one call at a time?
- What are acceptable uses for Vonage Voice Numbers?