https://retellai.com/?utm_source=discord&utm_medium=seo logo
i am getting this error: { "error_message": "re...
# 💬・general
r
@AI Evy i am getting this error: { "error_message": "request/body/nodes/7/skip_response_edge/transition_condition/prompt must be equal to one of the allowed values: Skip response, request/body/nodes/7/type must be equal to one of the allowed values: end, request/body/nodes/7 must have required property 'tool_id', request/body/nodes/7 must have required property 'transfer_destination', request/body/nodes/7/type must be equal to one of the allowed values: press_digit, request/body/nodes/7 must have required property 'else_edge', request/body/nodes/7 must have required property 'success_edge', request/body/nodes/7 must have required property 'variables', request/body/nodes/7 must have required property 'agent_id', request/body/nodes/7 must have required property 'mcp_id', request/body/nodes/7 must have required property 'component_id', request/body/nodes/7 must match exactly one schema in oneOf" }
a
Thanks for tagging me @renovia_70920. I'll look through relevant sources and get back to you shortly.
### Answer Your error message indicates that the node definition in your request is missing required properties or has invalid values for certain fields. Specifically, it lists issues such as missing required properties like tool_id, transfer_destination, else_edge, success_edge, variables, agent_id, mcp_id, and component_id, as well as type and prompt fields not matching allowed values. This typically means that, for the node at index 7 in your payload, you need to ensure the following: - The type field must be one of the allowed values (for example, press_digit or end for certain nodes) [(1) ]() . - If using a tool or transfer node, tool_id and transfer_destination are required [(2) ]() . - For nodes like Press Digit, you need to provide agent_id and mcp_id [(1) ]() . - Edges such as else_edge and success_edge must be present where required . - Variables, component_id, and other required fields must be included depending on node type . Double-check that your node object matches the required schema for the node type you are trying to use. The documentation for nodes such as Press Digit Node and Call Transfer Node provides examples and required fields: - [Press Digit Node]() - [Call Transfer Node]() Correcting your payload to include all required properties and using only allowed values for type and prompt should resolve this error , [(2) ]() .
​ To learn more, see the sources I considered: [[1] Press Digit Node](https://docs.retellai.com/build/conversation-flow/press-digit-node) [[2] Call Transfer Node](https://docs.retellai.com/build/conversation-flow/call-transfer-node) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.