Composer generating invalid JSON
# support
n
Hey team! The Composer is generating broken JSON that causes POST /assistant to fail. Issue: Composer adds these invalid fields to the request: json{ "endpoint": "POST /assistant", "method": "POST", "body": { ... } } Error: json{ "error": "Endpoint is required" } Expected: Should generate only the assistant config without endpoint/method wrapper: json{ "name": "Assistant Name", "model": { ... }, "voice": { ... } } Workaround: Manually deleting those fields before sending Screenshots: [attach your images] Can someone look into this? The Composer shouldn't be including API metadata in the request body. Thanks! 🙏 https://cdn.discordapp.com/attachments/1472332715620700292/1472332715847057622/Vapi_Support_-_rabienabeel.png?ex=69923032&is=6990deb2&hm=1eb6ba9af4874a4ec87748048f620809c751a52c12be787a570d55e632ad488e&
c
Hi there, Thank you for your message. Our team is currently out of the office. We operate Monday through Friday, from 9:00 AM to 8:00 PM Pacific Standard Time (PST). We’ll get back to you as soon as possible during our normal business hours. If your message is urgent, please mark it accordingly or include “URGENT” in the subject line, and we’ll do our best to respond promptly. Warm regards, Vapi Customer Support Team
Hi Nabeel, Thanks for the detailed report - and your workaround (removing the endpoint, method, and outer body wrapper) is exactly right for now. The Composer is still in Alpha, so you may run into rough edges like this while we continue improving it. We're actively working on it and this kind of feedback is genuinely helpful. We'll look into the invalid JSON generation on our end. In the meantime, the manual workaround should get you unblocked. Appreciate your patience! Best, Shaunak Vapi Support