# Can't unblock Custom Workflow Action

**URL:** <https://community.hubspot.com/t/cant-unblock-custom-workflow-action/90562>\
**Category:** APIs & Integrations\
**Tags:** workflows, developer-tools, professional\
**Created:** [September 27, 2023, 10:15am UTC](https://community.hubspot.com/t/cant-unblock-custom-workflow-action/90562 "2023-09-27T10:15:37Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![YGubkin](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ygubkin/32/11388_2.png) [@YGubkin](https://community.hubspot.com/u/YGubkin)\
**Post date:** [September 27, 2023, 10:15am UTC](https://community.hubspot.com/t/cant-unblock-custom-workflow-action/90562/1 "2023-09-27T10:15:37Z")

</div>

Hello!

I’m trying to use custom workflow action block feature and have an issue. According to [documentation](https://developers.hubspot.com/docs/api/automation/custom-workflow-actions#blocking-action-execution), there is

```lia-code-sample
{
 "outputFields": {
 "hs_execution_state": "BLOCK"
 }
}

```

in my response in action.

Execution is succesfully blocked and then I’m trying to unblock it with API endpoint

**[https://api.hubspot.com/automation/v4/actions/callbacks/complete](https://api.hubspot.com/automation/v4/actions/callbacks/complete)**

payload:

```lia-code-sample
{
 "inputs": [
 {
 "outputFields": {
 "hs_execution_state": "SUCCESS"
 },
 "callbackId": "ap-8642616-737382573577-1-0"
 }
 ]
}

```

It returns 204 code, but object is still in status “waiting” in Action. Callback ID is absolutely correct, checked it several times. What I’m doing wrong?

---

<div class="post-metadata">

**Author:** ![PhilipW](https://avatars.discourse-cdn.com/v4/letter/p/6bbea6/32.png) [@PhilipW](https://community.hubspot.com/u/PhilipW)\
**Post date:** [October 5, 2023, 7:59am UTC](https://community.hubspot.com/t/cant-unblock-custom-workflow-action/90562/2 "2023-10-05T07:59:15Z")

</div>

I do not have any answer for you. Just want to point out that I have the same issue. It is not a simple delay either since I have waited ~20 hours since the requests with no result.

---

<div class="post-metadata">

**Author:** ![PhilipW](https://avatars.discourse-cdn.com/v4/letter/p/6bbea6/32.png) [@PhilipW](https://community.hubspot.com/u/PhilipW)\
**Post date:** [October 5, 2023, 8:35am UTC](https://community.hubspot.com/t/cant-unblock-custom-workflow-action/90562/3 "2023-10-05T08:35:38Z")

</div>

The blocking seems to be completely broken. It does not seem to use the time specified in the `hs_expiration_duration` field. Not even their own example with the value “P1WT1H” is working. It always use the default expiration time of 1 week (P1W).

---

<div class="post-metadata">

**Author:** ![YGubkin](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ygubkin/32/11388_2.png) [@YGubkin](https://community.hubspot.com/u/YGubkin)\
**Post date:** [October 5, 2023, 9:29am UTC](https://community.hubspot.com/t/cant-unblock-custom-workflow-action/90562/4 "2023-10-05T09:29:37Z")

</div>

> * * *
> 
> @PhilipW wrote:
> 
> The blocking seems to be completely broken.
> 
> * * *

Yes, exactly. Do you know how to escalate it to the product dev team? Support answered me that such issues are out of their scope 😓

I will try to create an issue in the Hubspot github rep.

---

<div class="post-metadata">

**Author:** ![PhilipW](https://avatars.discourse-cdn.com/v4/letter/p/6bbea6/32.png) [@PhilipW](https://community.hubspot.com/u/PhilipW)\
**Post date:** [October 5, 2023, 9:37am UTC](https://community.hubspot.com/t/cant-unblock-custom-workflow-action/90562/5 "2023-10-05T09:37:18Z")

</div>

Ask them to contact the dev team.

---

<div class="post-metadata">

**Author:** ![PhilipW](https://avatars.discourse-cdn.com/v4/letter/p/6bbea6/32.png) [@PhilipW](https://community.hubspot.com/u/PhilipW)\
**Post date:** [October 5, 2023, 9:39am UTC](https://community.hubspot.com/t/cant-unblock-custom-workflow-action/90562/6 "2023-10-05T09:39:38Z")

</div>

There is a slack channel. But as you can see from my latest post there, you can’t expect to get any answers: [Slack](https://hubspotdev.slack.com/archives/C019VT42R8X/p1695978625443689).

---

<div class="post-metadata">

**Author:** ![YGubkin](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ygubkin/32/11388_2.png) [@YGubkin](https://community.hubspot.com/u/YGubkin)\
**Post date:** [October 5, 2023, 11:12am UTC](https://community.hubspot.com/t/cant-unblock-custom-workflow-action/90562/7 "2023-10-05T11:12:28Z")

</div>

Yeah, I found another post about this issue:

> **[Slack | AI Work Platform & Productivity Tools](https://hubspotdev.slack.com/?redir=%2Farchives%2FC019VT42R8X%2Fp1663433308098999%3Fname%3DC019VT42R8X%26perma%3D1663433308098999)**
>
> Boost productivity and save time with Slack‌ — ‌the AI work platform for managing projects, automating workflows, and connecting teams securely. Start working smarter today.

And there is mine:

> **[Slack | AI Work Platform & Productivity Tools](https://hubspotdev.slack.com/?redir=%2Farchives%2FC2YHAHB6K%2Fp1695814404035469%3Fname%3DC2YHAHB6K%26perma%3D1695814404035469)**
>
> Boost productivity and save time with Slack‌ — ‌the AI work platform for managing projects, automating workflows, and connecting teams securely. Start working smarter today.

---

<div class="post-metadata">

**Author:** ![YGubkin](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ygubkin/32/11388_2.png) [@YGubkin](https://community.hubspot.com/u/YGubkin)\
**Post date:** [October 5, 2023, 9:42am UTC](https://community.hubspot.com/t/cant-unblock-custom-workflow-action/90562/8 "2023-10-05T09:42:32Z")

</div>

I have already asked Support to contact devs, but my request was declined (

---

<div class="post-metadata">

**Author:** ![PhilipW](https://avatars.discourse-cdn.com/v4/letter/p/6bbea6/32.png) [@PhilipW](https://community.hubspot.com/u/PhilipW)\
**Post date:** [October 5, 2023, 9:46am UTC](https://community.hubspot.com/t/cant-unblock-custom-workflow-action/90562/9 "2023-10-05T09:46:36Z")

</div>

Sad to hear 😞

Let me know if you find a solution. Maybe then my last two days worths of work wont go to waste…

---

<div class="post-metadata">

**Author:** ![PhilipW](https://avatars.discourse-cdn.com/v4/letter/p/6bbea6/32.png) [@PhilipW](https://community.hubspot.com/u/PhilipW)\
**Post date:** [November 8, 2023, 1:00pm UTC](https://community.hubspot.com/t/cant-unblock-custom-workflow-action/90562/10 "2023-11-08T13:00:00Z")

</div>

For anyone looking for an answer, I have been able to solve this with help from HubSpot support:

1. If you are in Europe, use the api with base url [https://api-eu1.hubspot.com](https://api-eu1.hubspot.com).

2. Add search queries for appId and portalId: (?appId=\<Your appId\>&portalId=\<Your portalId\>

3. Make sure you use correct authentication (I was using my private app for authentication, which apparently was not ok since the private app creates a separate portalId from the portal where the workflow is created).

Hope this helps.

@YGubkin

---

<div class="post-metadata">

**Author:** ![YGubkin](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ygubkin/32/11388_2.png) [@YGubkin](https://community.hubspot.com/u/YGubkin)\
**Post date:** [January 26, 2024, 10:20am UTC](https://community.hubspot.com/t/cant-unblock-custom-workflow-action/90562/11 "2024-01-26T10:20:30Z")

</div>

Thanks for your reply.

I have tried it - and found another possible reason why you can’t unblock action.

Required scope for this request - **automation** and this scope is available only with **Marketing Hub Pro** and higher plan.
