https://retellai.com/?utm_source=discord&utm_medium=seo logo
Error in playground when using multi-prompt with j...
# ❓・bug-report
h
I keep getting this error when I try to use multi-prompt with JSON values in my edges. Error:
Copy code
https://api.retellai.com/playground-completion/llm_88bb85d8f4b59f328dc1a7d5f1be
Request Method:
POST
Status Code:
500 Internal Server Error
Remote Address:
Referrer Policy:
strict-origin-when-cross-origin
The response is this:
Copy code
message
: 
"Error met in text playground LLM call"
status
: 
"error"
However when I remove the JSON schema from my edge it works. I click format JSON, but it still doesnt work, however it worked at one point.
Here is the edge:
Copy code
{
  "type": "object",
  "properties": {
    "appointment_id": {
      "type": "string",
      "description": "ID of the existing appointment to cancel. This can be found in the customer record appointment array."
    }
  },
  "required": [
    "appointmentId"
  ]
}
s
Ensure your JSON schema includes "type": "object" at the top, and that "required" keys match exactly. Keep the schema lean to avoid potential bug-triggering complexity.