Errors
PHONE_DELETE_FAILED
PHONE_DELETE_FAILED
HTTP 502 · Bad Gateway

The phone number was not removed, so its billing may not have changed yet. Please try again. A retry is safe.

What causes it

The phone number was NOT removed and is still listed. Either the billing step did not finish (the billing provider did not confirm the new phone quantity, or the workspace has no owner whose plan pays for it), or the database write that removes the number failed. In the first case nothing else ran: the number still answers calls and its billing is unchanged, unless a timed-out billing update reached the provider anyway. In the second case the billing was already updated and calls to the number may no longer reach your assistant, but the number is still yours: it is released (provisioned) or detached from your Twilio trunk (imported) only after it is removed.

What to do

Retry the delete. A retry is safe: it sets the phone quantity from a fresh count, so it never takes off a second number, and then it removes the number and releases or detaches it. If the workspace has no owner, the retry works once it has one.


This page documents the PHONE_DELETE_FAILED error returned by the dBel API. API errors follow RFC 9457 Problem Details: each response carries a stable code, an HTTP status, and a type URL pointing back here.