Troubleshoot

WhatsApp Flows Error "Only One Clone Source Can Be Set" - Simple Fix

When using the WhatsApp API to clone a Flow, you might encounter the error: Only one clone source can be set.

You provided values for both clone_flow_id and clone_template.

This occurs when both clone_flow_id and clone_template parameters are included in your request. Since the API only allows one source for cloning, specifying both causes a conflict.

How to Fix It?

To resolve this, modify your request to include only one of these parameters:

1. If You Want to Clone an Existing Flow

Use clone_flow_id and remove clone_template:

{
  "clone_flow_id": "1234567890",
  "other_parameters": "value"
}

2. If You Want to Clone a Template

Use clone_template and remove clone_flow_id:

{
  "clone_template": "welcome_message_template",
  "other_parameters": "value"
}

This error is simple to fix by ensuring that only one cloning source is set in your request. For more insights related to WhatsApp Business API, check out heltar.com/blogs.

Book a Demo

Get in touch with our CEO for all your WhatsApp API needs!

Heltar

Automate WhatsApp for Businesses! Heltar is a growth engine for everyone. we help you with Bulk Messaging at scale, AI Agents and Workflow Automations; Team Inbox for all your agents, and Voice Agents cross-functionally with WhatsApp capabilities.