Skip to main content
VARTA

What does the VARTA error `trunk_not_found` mean?

HTTP status: 404  ·  Type: invalid_request_error

What it means

The trunk_id you supplied doesn't match a trunk registered for your tenant.

What causes it

Raised by the trunk read/delete endpoints and the dial-time trunk loader (backend/app/api/v1/telephony.py), the latter reached from POST /v1/calls when dial: true.

What to do

Register the trunk with POST /v1/trunks first, or check trunk_id against the list returned by GET /v1/trunks.