Function give 400 although on postman api gives 20...
# support
s
this is vapi messages { "role": "tool_calls", "time": 1732854978325, "message": "", "toolCalls": [ { "id": "call_WDzrOEBP4rQ5vpAQfTxpyHvl", "type": "function", "function": { "name": "GetSpecificProviderForAiAgentBasedOnLocations", "arguments": "{\n \"VaccineID\": \"7aa4fe9a-7608-4ae7-a4cc-323ab5f01c07\",\n \"PracticeID\": \"5da979bf-a31c-45b5-b1ee-69e14d18d9e9\",\n \"Caller_location\": \"Sylvia Park\"\n}" } } ], "secondsFromStart": 22.372 } { "role": "bot", "time": 1732854979277, "source": "", "endTime": 1732854980417, "message": "Hold on a sec.", "duration": 1140, "secondsFromStart": 23.43 } { "name": "GetSpecificProviderForAiAgentBasedOnLocations", "role": "tool_call_result", "time": 1732854980239, "result": "", "toolCallId": "call_WDzrOEBP4rQ5vpAQfTxpyHvl", "secondsFromStart": 24.286 } @jordan https://cdn.discordapp.com/attachments/1311915674737578005/1311915675408924752/image.png?ex=674a982f&is=674946af&hm=8e9fed3177f09450b59029e864212f2393392677b1e390313d2edc7636bd24a4& https://cdn.discordapp.com/attachments/1311915674737578005/1311915675643543562/image.png?ex=674a982f&is=674946af&hm=a7240691ae03f43f909a9d9daa5ba9b7aa5103b0b3706e28fcf0ffcd64f6b1e0&
v
@Shahmeer It looks like you're trying to get a specific provider for an AI agent based on locations. I see that the function
GetSpecificProviderForAiAgentBasedOnLocations
has been called with the necessary arguments. If you need further assistance or have any other questions, feel free to let me know!
You can continue this conversation by mentioning me in the message.
s
@User so why vapi is giving 400 and not returning any result
??
s
Hey @Shahmeer To help track down this issue, could you share: - The call ID This would really help me figure out what went wrong!
3 Views