https://discord.gg/botpress logo
data must have property options
# 🤝help
l
I am getting an intermittent problem in single choice > `Error sending outgoing message { > integration: 'webchat', > messageType: 'choice', > payload:
{"type":"text","text":"I'm here to assist you with your case. Could you please specify the type of case you'd like to discuss?"}
, > error: bs [Error]: data must have required property 'options' > at Ab (/var/task/customer_code.js:14:16897) > at Es (/var/task/customer_code.js:14:16716) > at m (/var/task/customer_code.js:14:84883) > at /var/task/customer_code.js:14:49684 > at process.processTicksAndRejections (node:internal/process/task_queues:95:5) > at async flushSendMessages (/var/task/customer_code.js:3184:7907) > at async Promise.allSettled (index 4) > at async Object.flushSendMessages (/var/task/customer_code.js:3184:9653) > at async /var/task/customer_code.js:3371:2499 { > isApiError: true, > code: 400, > description: "The provided data doesn't respect the provided JSON schema.", > type: 'InvalidDataFormat', > error: undefined, > id: 'err_20250413115917x1652A59A', > metadata: undefined > } > }` https://cdn.discordapp.com/attachments/1360948203293376592/1360948203595501618/image.png?ex=67fcf948&is=67fba7c8&hm=924e56b2f64b64b564976269666f0c95f303687dd3393b78a592f458f39e5311&
found that this error is from the personality agent with LLaMA 3.1 8B
o
Interesting, you got this error from having the personality agent enabled with LLaMA 3.1 8B? With any prompt?? Or with a specific prompt you were giving it?
l
The prompt was generic, to behave like a personality of a secretary