# WhatsApp Flows Error 139002 - Publishing Flow with validation errors | Troubleshooting Guide
Author: Prashant Jangid
Author URL: https://www.heltar.com/blogs/author/prashant-jangid
Published: 2025-03-05
Category: Troubleshoot
Category URL: https://www.heltar.com/blogs/category/troubleshoot
Tags: WhatsApp Flows Error
Tag URLs: WhatsApp Flows Error (https://www.heltar.com/blogs/tag/whatsapp-flows-error)
URL: https://www.heltar.com/blogs/whatsapp-flows-error-139002-publishing-flow-with-validation-errors-or-troubleshooting-guide-cm7vtyqpk001qj4rq0cpiz8fy

When publishing a Flow, you may encounter the following error:

**Publishing Flow with validation errors**

This means you tried to publish a draft Flow that has validation errors. Flows with validation errors can be saved as a draft, but not published.

This means that while you can save a Flow with errors as a draft, it cannot be published until all validation issues are resolved. Let’s go through how to troubleshoot and fix this issue.

## How to Resolve the Error?

### Step 1: Identify Validation Errors

**Method 1 - Using Flow Builder UI**

- Open the Flow in the **Flow Builder UI**.

- The UI will highlight errors and provide explanations.

- Make necessary corrections based on the error messages.


**Method 2 - Using API to Retrieve Flow Details**

If you prefer working with the API, you can retrieve the Flow’s validation errors:

**Sample API Request:**

```
curl '{BASE-URL}/{FLOW-ID}?fields=id,name,categories,preview,status,validation_errors,json_version,data_api_version,endpoint_uri,whatsapp_business_account,application,health_status' \--header 'Authorization: Bearer {ACCESS-TOKEN}'
```

This request returns validation\_errors along with other details. Review the error messages and address each issue.

### Step 2: Revalidate and Publish

- After fixing the errors, save the Flow as a draft.

- Run a validation check in the Flow Builder UI or via the API.

- Once no errors are detected, proceed with publishing.


For more troubleshooting tips related to WhatsApp Business API, check out [heltar.com/blogs](http://heltar.com/blogs).


---
This blog is powered by Superblog. Visit https://superblog.ai to know more.
---

