Any suggestion what could be the issue here? 400 b...
# support
k
@Sahil Doing an outbout call through http make i get 400 bad request but it works fine without assistantoverrides function { "customer": { "number": "", "name": "", "extension": "" }, "phoneNumberId": "", "assistantId": "", "assistantOverrides": {"model": { "tools": [ { "async": false, "type": "transferCall", "destinations": [ { "type": "number", "numberE164CheckEnabled": true, "number": "", "message": "Consultant 1", "description": "[ If debt > 80000zl and owns real estate ]" } ] } ] } } }
v
@Karol It seems like you're trying to make an outbound call with some specific assistant overrides in place. The
400 Bad Request
error typically indicates that there's something wrong with the request you're sending. Here are a few things to check: 1. Ensure that all required fields are filled in with valid data, including
customer.number
,
phoneNumberId
, and
assistantId
. These fields should not be empty. 2. Verify that the
number
field under
assistantOverrides
is filled with a valid phone number in E.164 format. 3. Check that the
assistantOverrides
structure is correctly formatted and matches the expected schema for the API you're using. If you've verified all the data and the request is still not working with the
assistantOverrides
function, it might be an issue with how the overrides are being processed by the API. In that case, you may need to contact support for more detailed assistance with the API's functionality and to troubleshoot the specific error you're encountering. If you need further assistance or have additional information to provide, please let me know!
You can continue this conversation by mentioning me in the message.
s
mind sending the whole curl request
k
I did it via http module in make just pasting this json
no curl here