Issue with Squad JSON - Call returns 'Couldn't get...
# support
a
call id aed5a06a-5305-4494-b529-9edcca4fc2e6 @liseyloo
Copy code
{
  "squad": {
    "members": [
      {
        "assistantId": "e18542c9-9c36-4526-81f8-3d7de8d5085f",
        "assistantDestinations": [
          {
            "type": "assistant",
            "message": "Let's meet your client.",
            "description": "Transfer when user says \"Ready to coach Max\".",
            "assistantName": "Client"
          }
        ]
      },
      {
        "assistantId": "34862fc8-ae2b-4400-bd6d-dd7aa0d182b3",
        "assistantDestinations": [
          {
            "type": "assistant",
            "message": "Here's Mentor Matt.",
            "description": "Transfer when user says \"I want my feedback\".",
            "assistantName": "Mentor"
          },
          {
            "type": "assistant",
            "message": "Here's Lifeline Lana.",
            "description": "Transfer when the user says \"Lifeline\".",
            "assistantName": "Lifeline"
          }
        ]
      },
      {
        "assistantId": "cd64678e-79d2-4603-a466-5b055e2ad9e0",
        "assistantDestinations": [
          {
            "type": "assistant",
            "message": "Here's Max.",
            "description": "Transfer when user says \"Return to Max\".",
            "assistantName": "Client"
          }
        ]
      },
      {
        "assistantId": "9f7079ed-4ddc-4cbc-9822-0b09e7d500ef",
        "assistantDestinations": [
          {
            "type": "assistant",
            "message": "Here's Max...you've got this.",
            "description": "Transfer when user says \"Return to Max\".",
            "assistantName": "Client"
          }
        ]
      }
    ]
  }
}
This is the JSON, and changing the \" to just a ' but still getting "Couldn't get assistant"
v
message has been deleted
@Alejo Please ask support for more info on this.
You can continue this conversation by mentioning me in the message.
l
On https://jsondiff.com/ I've compared 2 JSON squads (one that's working and one that throws error) and they're identical, except for very minor language in message or description. I think the fact we substituted an assistant for the squad and the call worked correctly that it must be the JSON--but I'm stumped. I need to build out many of these squads and am at a stand-still. I've linked to the 2 JSON squad codes below with associated phone #'s. JSON WORKING PROPERLY (505) 498-3222 https://drive.google.com/file/d/1a0K7xANVm_wuHzD6PNyiZUT5iWSna7Aw/view?usp=sharing Vapi org: a42cc675-3d29-47b2-bca6-029b98182d7b JSON THROWS 'COULDNT GET ASSISTANT ERROR' (505) 535-5279 https://drive.google.com/file/d/1WEeM9NweLdzBy-NFl58FiKXJzLriMGYZ/view?usp=sharing Vapi org: 39597169-95cb-40ff-8b3b-06fbc3359eeb
a
@Sahil @Shubham Bajaj
s
Hey @Alejo apology for the delay, don't know how it got slipped from the list. The call id isn't related to the issue @liseyloo is mentioning.
I have looked into the squad mentioned not working and yes assistant names are in the same org and even the phone number, it's really surprising this is failling.
@Alejo can you join today's discord OH because I need to check the CURL request your making and what's wrong. The fastest way for me to help you is through live support, in case you or @liseyloo won't be available can drop the request CURL and response payload I will go through it.
l
I don't exactly understand technically what you're saying but I can be on the call. Since this has happened with other orgs I've created it made me wonder if there's something corrupted in my account or something.
s
Yeah please join live discord OH, it's hard to believe happening because of name.
l
Tried to mark this as resolved, but I can't. Thank you for the help on the call today.