# Custom workflow action: "Didn't execute"

**URL:** <https://community.hubspot.com/t/custom-workflow-action-didnt-execute/121255>\
**Category:** APIs & Integrations\
**Tags:** workflows\
**Created:** [November 24, 2024, 7:57pm UTC](https://community.hubspot.com/t/custom-workflow-action-didnt-execute/121255 "2024-11-24T19:57:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![therein](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/therein/32/204513_2.png) [@therein](https://community.hubspot.com/u/therein)\
**Post date:** [November 24, 2024, 7:57pm UTC](https://community.hubspot.com/t/custom-workflow-action-didnt-execute/121255/1 "2024-11-24T19:57:34Z")

</div>

Hello!

In building a custom workflow action, I keep getting the error: “Didn’t execute” and “The response body for this request was empty.”

 ![Screenshot 2024-11-24 at 1.46.05 PM.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/d/2da77fcdb822226ed8265e1a878ed9c2f6662c4b.png)

For the actionUrl, I’ve tried using my own URL, as well as a webhook.site and the error remains the same. Testing both in Postman seems to work as expected.

What might I be missing?

---

<div class="post-metadata">

**Author:** ![FarioConsulting](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@FarioConsulting](https://community.hubspot.com/u/FarioConsulting)\
**Post date:** [November 25, 2024, 11:38am UTC](https://community.hubspot.com/t/custom-workflow-action-didnt-execute/121255/2 "2024-11-25T11:38:22Z")

</div>

Hi,

Could you check if your endpoint properly validates incoming requests from HubSpot (using the v2 version of X-HubSpot-Signature) and correctly formats outgoing responses  
Cheers,  
Harsh  
Fario Consulting

---

<div class="post-metadata">

**Author:** ![therein](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/therein/32/204513_2.png) [@therein](https://community.hubspot.com/u/therein)\
**Post date:** [November 25, 2024, 3:00pm UTC](https://community.hubspot.com/t/custom-workflow-action-didnt-execute/121255/3 "2024-11-25T15:00:17Z")

</div>

Looking at the server logs, there are no incoming requests. This is true for my endpoint as well as for webhook.site (where I would have expected to see requests at least).

The outgoing response is formatted as:

```lia-code-sample
{
 "outputFields": {
 "myOutput": "Testing",
 "hs_execution_state": "SUCCESS"
 }
}

```

---

<div class="post-metadata">

**Author:** ![JMartinez5](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jmartinez5/32/201623_2.png) [@JMartinez5](https://community.hubspot.com/u/JMartinez5)\
**Post date:** [January 14, 2025, 2:24pm UTC](https://community.hubspot.com/t/custom-workflow-action-didnt-execute/121255/4 "2025-01-14T14:24:13Z")

</div>

I’m facing this same issue, the definition execution fails and there is not incoming request coming to my server, neither to webhook.site, and the logs show empty body, any help?

---

<div class="post-metadata">

**Author:** ![therein](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/therein/32/204513_2.png) [@therein](https://community.hubspot.com/u/therein)\
**Post date:** [January 15, 2025, 4:36am UTC](https://community.hubspot.com/t/custom-workflow-action-didnt-execute/121255/5 "2025-01-15T04:36:45Z")

</div>

The issue for me was:

If one of the fields in the workflow action used a property from the triggered record, and there wasn’t a value for that field for a given record, it wouldn’t execute the request because it was empty.

---

<div class="post-metadata">

**Author:** ![JMartinez5](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jmartinez5/32/201623_2.png) [@JMartinez5](https://community.hubspot.com/u/JMartinez5)\
**Post date:** [January 15, 2025, 2:46pm UTC](https://community.hubspot.com/t/custom-workflow-action-didnt-execute/121255/6 "2025-01-15T14:46:34Z")

</div>

That was exactly the issue for me. What I did: Set all the fields as not required, and let the backend of the webhook validate all. Thank you for your answer!
