Running into some issues "couldn't get assistant"
# support
z
I'm making transient calls and have 43 or my 63 numbers working. The others are all saying "Couldn't get assistant. Check your artifacts." When I look in the logs, the API logs are saying 200 successful. Doesn't have a callId, just the OrgIDs. Code seems good. Can't figure out what's causing the issue. Please advise. Thanks!
s
Check your payload if assistantId is set correctly.
k
Check your webhook artifact JSON for missing or invalid assistantId, squad, or configuration, and ensure every number or transient call includes a valid, deployed assistant..
z
we've been able to do it without an assistantId - fully transient and it's working fine for the others and with this setup the webhook artifacts showed nothing - just came back 200 any other suggestions and is there other value to having an assistnatId setup? @Subrat Sagar @Kings_big💫
k
Hey Zack, can you share phoneNumberId for
couldn't get assistants
calls ?
z
- ab72a226-6fec-4bae-90ed-0236e09c9ba1 - 644207e4-b461-42ab-acef-c8a7d9a992b4 - dc6a296b-b2d4-4281-b84d-7a0561a7363e @Shubham Bajaj
k
Reduce the prompt size for the assistant. As a good test, just write a couple of lines for the assistant prompt and see what the results are