DaliD
Voiceflow7mo ago
10 replies
Dali

Agent with Carousel/Buttons activated

Good day everyone, I'm encountering an issue when using Carousel and Buttons with my agent.

Context : I configured an agent that is able to guide students regarding immigration questions, and I added a tool able to pull up relevant listings for apartments to help the student find apartments easily.

The tool returns a nicely formatted json, and I toggled the Carousel feature on to be able to present the listings as a carousel.

When doing that, the chat ends immediately, and I get the following error :


{
  "time": 1753357496400,
  "type": "debug",
  "payload": {
    "ref": {
      "type": "agent",
      "nodeID": "hidden",
      "agentID": "hidden",
      "diagramID": "hidden"
    },
    "level": "warn",
    "message": "execution failed",
    "context": "Agent",
    "metadata": {
      "error": {
        "name": "ClientError",
        "stackTrace": {
          "code": 400,
          "status": "INVALID_ARGUMENT",
          "errorDetails": [
            {
              "@type": "type.googleapis.com/google.rpc.BadRequest",
              "fieldViolations": [
                {
                  "field": "tools[0].function_declarations[2].parameters.properties[0].value",
                  "description": "Invalid JSON payload received. Unknown name \"const\" at 'tools[0].function_declarations[2].parameters.properties[0].value': Cannot find field."
                }
              ]
            }
          ]
        }
      },
      "latency": 150
    }
  }
}


Did anyone ever get this issue ?

Thanks in advance 🙏
Was this page helpful?