Errors
API error reference
API error reference
Every error the dBel API can return. Responses follow RFC 9457 Problem Details — each carries a stable code, an HTTP status, and a type URL linking to its page below. There are 105 codes in total.
400
Bad Request · Client errorIMPORT_FILE_INVALIDThe file could not be read as CSV. It needs a header row with a `phone` column.INVALID_ASSISTANT_IDThe assistantId is missing or invalid.INVALID_CALCOM_TOKENThe provided Cal.com token is missing or invalid. Please check and try again.INVALID_CALL_IDThe callId is missing or invalid.INVALID_CONTACT_IDThe contactId is missing or invalid.INVALID_DOCUMENT_IDThe documentId is missing or invalid.INVALID_ELEVENLABS_TOKENThe provided ElevenLabs token is missing or invalid. Please check and try again.INVALID_INVITATION_IDThe invitationId is missing or invalid.INVALID_KNOWLEDGE_IDThe knowledgeId is missing or invalid.INVALID_OR_EXPIREDThe provided token is invalid or has expired.INVALID_PHONE_IDThe phoneId is missing or invalid.INVALID_PHONE_NUMBERInvalid phone number.INVALID_PLANThe requested plan is not one this workspace can check out.INVALID_REQUESTThe request is invalid.INVALID_REQUEST_BODYThe request body is invalid.INVALID_REQUEST_QUERYThe request query is invalid.INVALID_SIP_TRUNK_IDThe sipTrunkId is missing or invalid.INVALID_TOKEN_SERVICEThe token service doesn't match the required service for this function.INVALID_TWILIO_CREDENTIALSThe provided Twilio credentials are missing or invalid. Please check and try again.INVALID_USER_EMAILThe userEmail is missing or invalid.INVALID_USER_IDThe userId is missing or invalid.INVALID_WORKSPACE_IDThe workspace is missing or invalid.MISSING_CALCOM_TOKENPlease integrate with Cal.com before creating a booking functionMISSING_RIDThe checkout request is missing its idempotency reference.MISSING_TOKEN_IDThe tokenId is missing or invalid.MISSING_WORKSPACE_IDThe workspaceId is missing or invalid.MUST_HAVE_ONE_WORKSPACEYou cannot delete your last workspace. Create another workspace before deleting this one.PHONE_NOT_ATTACHED_TO_ASSISTANTPhone is not attached to the specified assistant.TWILIO_NOT_CONFIGUREDTwilio is not fully configured for this workspace. Add the Twilio integration first.
401
Unauthorized · Client error402
Payment Required · Client errorFREE_PLAN_RESTRICTEDThis action is not available on the free plan.PLAN_FEATURE_RESTRICTEDThis feature is not available on your current plan. Please upgrade.PLAN_MINUTES_EXHAUSTEDNot enough assistant minutes are left this month to place a call.PURCHASE_PAYMENT_FAILEDThe payment did not go through, so the number was not bought and nothing was charged. Check the card in Account → Manage Billing, then try again.SUBSCRIPTION_ISSUEYour subscription is inactive or incomplete or has a payment issue.SUBSCRIPTION_LIMIT_EXCEEDEDYou have reached the maximum limit for this action based on your subscription plan.
403
Forbidden · Client errorAPI_TOKEN_NO_EXPIRY_ADMIN_ONLYOnly a workspace owner or admin can create an API key that never expires. Choose a lifetime of 1 to 365 days.AUTOMATED_REQUEST_REFUSEDThis request looks automated. If you are a person, reload the page and try again.CUSTOM_FUNCTION_TOKEN_ADMIN_ONLYOnly a workspace admin or owner can attach a token to a custom function or change the endpoint of a custom function that has one.EMAIL_NOT_VERIFIEDYour email address is not verified.FORBIDDENYou do not have permission to access this resource.INACTIVE_TWILIO_ACCOUNTTwilio account must be active to use this integration.INSUFFICIENT_ELEVENLABS_PERMISSIONSThe ElevenLabs API key you used is missing voices_read permission. Please update permissions in your ElevenLabs account.INSUFFICIENT_PRIVILEGESYou do not have sufficient privileges to edit this resource.INSUFFICIENT_TWILIO_PERMISSIONSThe Twilio API key you used is missing the "Standard" permissions. Create a new "Standard" API key in Twilio.OUTBOUND_APPROVAL_REQUIREDOutbound calls from a number bought through dBel need our approval. A workspace owner or admin can ask for it in Settings → Outbound Calling. A number imported from your own Twilio account does not need it.OUTBOUND_NOT_ENABLEDOutbound calling isn't enabled for this workspace. A workspace owner or admin must enable it in settings.PAID_PLANS_NOT_OPENPaid plans are not open yet.STOP_HANDLING_NOT_CONFIRMEDSTOP handling isn't confirmed for this workspace. A workspace owner or admin must confirm it in settings.
404
Not Found · Client errorASSISTANT_NOT_FOUND_OR_UNAUTHORIZEDAssistant not found or you do not have access.CALL_NOT_FOUND_OR_UNAUTHORIZEDCall not found or you do not have access.CONTACT_CANNOT_BE_ENRICHEDNo enrichment sources were found matching the contact.CONTACT_NOT_FOUND_OR_UNAUTHORIZEDContact not found or you do not have access.DOCUMENT_NOT_FOUND_OR_UNAUTHORIZEDDocument not found or you do not have access.FUNCTION_NOT_FOUND_OR_UNAUTHORIZEDFunction not found or you do not have access.INVITATION_NOT_FOUND_OR_UNAUTHORIZEDInvitation not found or you do not have access.KNOWLEDGE_NOT_FOUND_OR_UNAUTHORIZEDKnowledge base not found or you do not have access.NOT_FOUNDThe requested resource was not found.PHONE_NOT_FOUND_OR_UNAUTHORIZEDPhone not found or you do not have access.SIP_TRUNK_NOT_FOUND_OR_UNAUTHORIZEDSIP trunk not found or you do not have access.TOKEN_NOT_FOUND_OR_UNAUTHORIZEDToken not found or you do not have access.TWILIO_SID_RESOURCE_NOT_FOUNDTwilio SID resource not found or you do not have access.WORKSPACE_NOT_FOUND_OR_UNAUTHORIZEDWorkspace not found or you do not have access.
405
Error · Client error408
Request Timeout · Client error409
Conflict · Client errorCALLEE_OPTED_OUTThis number asked not to be called again on an earlier call from this workspace, so the call was not placed.CONTACT_ALREADY_EXISTSA contact with this phone number already exists.CONTACT_RECENTLY_ENRICHEDContact enrichment is on cooldown.DUPLICATE_WORKSPACE_USERUser already has access to this workspace.EMAIL_ALREADY_IN_USEThe email address is already in use.INVITATION_NOT_PENDINGThat invitation is no longer outstanding. Refresh the list and try again.PHONE_ALREADY_ASSIGNEDThis phone is already assigned to another assistant.RESOURCE_CONFLICTThe request conflicts with the current state of the target resource.SIP_TRUNK_LIMIT_REACHEDYou've reached the maximum number of SIP trunks for this workspace.
413
Error · Client error422
Unprocessable Entity · Client errorCALLBACK_NUMBER_REQUIREDOutbound calls need a callback number. A workspace owner or admin must add one in Settings → Business details.CALLER_ID_INBOUND_ONLYThis assistant's phone number is an Australian 1800, 13 or 1300 number. These numbers take inbound calls only, so they cannot place a call. Attach a different number to call from.CONTACT_INVALID_PHONE_NUMBERInvalid phone number associated with contact.CONTACT_MISSING_PHONE_NUMBERContact is missing a phone number.DESTINATION_NOT_ALLOWEDCalls can only go to US, Canadian and Australian numbers, and not to premium-rate or personal numbers.IMPORT_TOO_MANY_ROWSThe file has too many rows. Split it into smaller files and retry.MISSING_CALL_VARIABLESThe request is missing variables that this assistant's outbound texts require.PHONE_COUNTRY_NOT_ALLOWEDOnly US, Canadian and Australian numbers can be imported.PHONE_NOT_VERIFIEDThis phone number is not verified for outbound calling. Verify it before placing a call.PHONE_TYPE_NOT_SOLDThis type of number is no longer sold. Toll-free numbers can be imported from your own Twilio account instead.SMS_BODY_TOO_LONGSMS body exceeds the 3-segment cap (max 459 GSM-7 chars or 201 Unicode chars).SMS_CAPABILITY_REQUIREDThis assistant's phone number does not support SMS. Attach an SMS-capable number first.VOICE_CAPABILITY_REQUIREDThis assistant's phone number does not support voice calls. Attach a voice-capable number first.
429
Too Many Requests · Client errorOUTBOUND_DAILY_LIMIT_REACHEDThis workspace reached its limit of outbound calls from numbers bought through dBel in any 24 hours. Every accepted request counts.RATE_LIMIT_EXCEEDEDToo many requests. Please wait.TOO_MANY_TOKENSToo many tokens. Please remove or revoke an existing token before creating a new one.
500
Internal Server Error · Server error502
Bad Gateway · Server errorDOCUMENT_DELETE_FAILEDThe document could not be removed from the search index. Please try again.DOCUMENT_INDEXING_FAILEDThe search index could not be updated. Please try again.OUTBOUND_CALL_FAILEDFailed to place the outbound call. Please try again.PHONE_DELETE_FAILEDThe phone number was not removed, so its billing may not have changed yet. Please try again. A retry is safe.SIP_TRUNK_PROVISION_FAILEDFailed to provision the SIP trunk. Please try again.WORKSPACE_DELETE_FAILEDThe workspace was not deleted. Some of its phone numbers may already be released. Please try again. A retry is safe.