Phone level server URLs not Firing
# support
m
The ‘phoneNumber.serverUrl’ value is not being used to fetch assistants. GET request on the 'phone-number' api show the URL value is present but all calls still return "No Assistant provided". The same URL works fine at the 'Account Server URL' level
v
Hi @mr.claude., I'm an AI assistant for Vapi. I'll analyze available sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Get Assistant]() * [Create Assistant]() * [List Phone Numbers]() * [List Assistants]() -----------------------------
### Answer It appears that the
phoneNumber.serverUrl
configuration is present but not functioning as expected. This might be a case of precedence where the
serverUrl
set at different levels (organization, phone number) conflicts or isn't correctly recognized by the system. From the documentation, the
serverUrl
should follow a specific order of precedence: function.serverUrl > assistant.serverUrl > phoneNumber.serverUrl > org.serverUrl. If the
phoneNumber.serverUrl
is set but the assistant-level or function-level
serverUrl
is also set, they might override the phone-level URL. You can verify the configuration and check if any other
serverUrl
settings at higher precedence levels are influencing this behavior. It's also worth testing by temporarily removing higher-level URL configurations to isolate the issue. If the problem persists, it might be a specific issue with how the configurations are being processed, which may need a direct look into the system's handling of these settings. Since this kind of detailed system behavior troubleshooting isn't covered directly in the available documentation, you might consider verifying the entire configuration setup or reach out on a developer community platform or forum for more targeted assistance.
s
Can you send me your phone_id I will check from my side.
m
phone Id 1: 3c400f92-bd06-405d-bad9-9e61ad11a822 phone Id 2: 67579356-0237-40f0-ad12-ac1c0b5b7c2a
s
Just do one thing, instead of using make.com, can you use ngrok and inspect the traffic at http://localhost:4040/ and check whether you are receiving any requests or not from our side? Also, make sure to record a Loom video during it.  If you are getting the request then you are doing something wrong from your side.
Marking it as complete as there is no follow up.
m
Hey just seeing these. Were you able to reproduce?
s
Nop.e