Troubleshooting: WhatsApp test number held by another workspace
Setting up the WhatsApp test account starts by requesting a one-time code withPOST /api/v1/whatsapp/test-account/send-otp and completes
with POST /api/v1/whatsapp/test-account/verify-otp. If the phone number
is already the verified test number of a different Orbit workspace, both
calls refuse with a 409 carrying
TEST_PHONE_REGISTERED_IN_OTHER_WORKSPACE. A phone number can bind to
one workspace’s test account at a time, and the refusal is
deterministic: it persists until the number is released or a different
number is registered.
What the rejection looks like
The code arrives on the error envelope of the registration call, in the same shape as every other Orbit API refusal:/api/v1/whatsapp/test-account/*), not from the WABA connect routes. A
failure to connect your own WhatsApp Business Account speaks
WHATSAPP_NOT_CONNECTED or CONNECTION_INVALID instead and is a
different runbook:
WhatsApp connection.
What is happening
The test account is a shared WhatsApp Business Account that Devotel operates so you can verify your integration end to end (sends, inbound replies, delivery receipts, flows) before you connect your own WABA. Inbound replies to the shared account are routed back to the workspace that holds the verified number, so a phone number can bind to exactly one workspace at a time: if a second workspace claimed the same number, the two workspaces’ test traffic would interleave. Registration therefore checks the claim before the one-time code goes out and again when the code is verified, and refuses with this 409 when the number is held elsewhere. Which workspace holds the number is deliberately not disclosed in the refusal. If the 409 on your registration call isVERIFIED_PHONE_OVERWRITE_REQUIRES_CONFIRMATION instead, the conflict is
inside your own workspace rather than between workspaces: your
organization already verified a different test number, and the request
addresses another one. That refusal, its confirmation semantics, and its
fixes are covered in the second half of this page.
Fixes
1. Register a different phone number
The fastest way through: use any phone number that can receive the verification code on WhatsApp and that no other workspace has verified. Request the code again with the new number; nothing about your workspace’s existing state needs to change.2. Have the holding workspace release the number
If the number is verified in a workspace your team controls (a staging workspace, a previous project’s workspace), an owner of that workspace releases it withPOST /api/v1/whatsapp/test-account/clear-verification,
the same action as the test-account control in their dashboard. The
release takes effect immediately, and your registration then succeeds
on the next attempt. If you do not recognize any workspace that would
hold the number, use the support path below.
3. Stale claim: open a support ticket
If the number was verified in a workspace you no longer control, or you believe the holding claim is stale (for example the number was released from your own organization and registration still refuses), open a ticket with support@devotel.io and include:- The
request_idfrommetaon the refusal. - The phone number exactly as you sent it, in E.164 with the leading
+. - The workspace the number was previously registered under, if known.
Same workspace, different number: VERIFIED_PHONE_OVERWRITE_REQUIRES_CONFIRMATION
A second 409 can refuse the very same calls, and it means something different: your organization already verified one test number, and the request addresses a different one.send-otp and verify-otp return
VERIFIED_PHONE_OVERWRITE_REQUIRES_CONFIRMATION when the phone differs
from your organization’s currently-verified test number and the request
does not carry allow_overwrite: true. Unlike the cross-workspace 409
above, nothing about another workspace is involved, and the guard lifts
as soon as you either confirm the replacement or correct the number.
What the rejection looks like
The envelope matches the API’s standard refusal shape, with the 409 onerror.code:
What is happening
Verification binds exactly one test number to your organization; the verified number is the only recipient test messages may target until it is replaced. Replacing it silently would strand whoever relies on the current number, so the API applies the change only when the request confirms it.allow_overwrite: true on the request body is that
confirmation; so is releasing the current number first with
POST /api/v1/whatsapp/test-account/clear-verification. Without either,
the call refuses before a one-time code goes out.
Fixes
- Correct the number and retry without the flag. If the different
number reached the request by mistake (a mistyped digit, a wrong
country code picked in the dial selector), re-issue
POST /api/v1/whatsapp/test-account/send-otpwith the number you actually meant, or with your currently-verified number. No flag is needed, and the verified number stays in place. - Confirm the replacement consciously. If the new number is
intended, re-issue the call with
allow_overwrite: trueonly once you have confirmed that the old verified number will stop receiving test messages the moment the new one verifies. Team members testing against the old number will see refusals until they re-verify. - Prefer the explicit path after a deliberate change.
POST /api/v1/whatsapp/test-account/clear-verificationreleases the current number first (the same action as the test-account control in the dashboard), after whichsend-otpfor the new number succeeds without the flag, and the release is recorded for your workspace.
Why the guard exists
Before it shipped, a send-otp addressed to a different number replaced the verified test number as a side effect. One tap on the wrong country code in the dial selector wiped a working demo number mid-demo, with no prompt and no record. The confirmation makes replacement an explicit, caller-asserted act instead of a side effect of requesting a code.Which 409 is mine?
Two neighbouring refusals look similar but belong to other runbooks:
WHATSAPP_PHONE_VERIFY_REQUIRED and WHATSAPP_NO_PHONE_NUMBER speak
about connecting your own WhatsApp Business Account, not the shared
test account, and their fixes live on
WhatsApp connection.
What not to do
- Do not keep retrying the same number. The refusal is a claim
check, not a cooldown: repeating
send-otpwith the held number fails identically on every attempt, and no waiting window re-opens it. - Do not attempt the same number on a live WABA expecting a different verdict. The test-account pool is scoped independently of your own WABA; this gate arbitrates ownership of the shared test tier only. Connecting a WABA neither releases the number nor inherits the refusal, and the test account stays available for integration work whether or not you own a WABA.
- Do not pass
allow_overwrite: trueto silence the confirmation 409. The flag asserts that you intend to replace your verified number; sending it to clear up a mistyped number swaps the verified number for the typo. Fix the number, or confirm the replacement first, as in the second half of this page.
See also
- WhatsApp connection —
NOT_CONNECTEDvsCONNECTION_INVALIDon your own WABA. - Error Code Reference — the 409 family, including the test-account codes.
- Troubleshooting hub — every runbook in one index.