# Troubleshooting programmable automation code

**URL:** <https://community.hubspot.com/t/troubleshooting-programmable-automation-code/75628>\
**Category:** Data Hub\
**Created:** [February 21, 2023, 12:56pm UTC](https://community.hubspot.com/t/troubleshooting-programmable-automation-code/75628 "2023-02-21T12:56:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![NSmits-Jorgen](https://avatars.discourse-cdn.com/v4/letter/n/8e7dd6/32.png) [@NSmits-Jorgen](https://community.hubspot.com/u/NSmits-Jorgen)\
**Post date:** [February 21, 2023, 12:56pm UTC](https://community.hubspot.com/t/troubleshooting-programmable-automation-code/75628/1 "2023-02-21T12:56:46Z")

</div>

I’m looking for some help troubleshooting the ‘dedupe’ suggestion on the library with programmable worfklow actions.

[https://github.com/HubSpot/sample-workflow-custom-code/blob/main/samples/dedupe\_contact.js](https://github.com/HubSpot/sample-workflow-custom-code/blob/main/samples/dedupe_contact.js)

I can’t get it to run in my portal and don’t know what’s going wrong.

---

<div class="post-metadata">

**Author:** ![MiaSrebrnjak](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miasrebrnjak/32/10_2.png) [@MiaSrebrnjak](https://community.hubspot.com/u/MiaSrebrnjak)\
**Post date:** [February 22, 2023, 11:08am UTC](https://community.hubspot.com/t/troubleshooting-programmable-automation-code/75628/2 "2023-02-22T11:08:28Z")

</div>

Hi [@NSmits-Jørgen](https://community.hubspot.com/t5/user/viewprofilepage/user-id/502469),

Thank you for reaching out to the Community!

I wanted to tag in a couple of subject matter experts to see if they can help:

Hi @Teun, @ChrisoKlepke, @johnelmer, any ideas why this doesn’t work? Thank you!

Cheers  
Mia, Community team

---

<div class="post-metadata">

**Author:** ![NSmits-Jorgen](https://avatars.discourse-cdn.com/v4/letter/n/8e7dd6/32.png) [@NSmits-Jorgen](https://community.hubspot.com/u/NSmits-Jorgen)\
**Post date:** [February 24, 2023, 10:59am UTC](https://community.hubspot.com/t/troubleshooting-programmable-automation-code/75628/3 "2023-02-24T10:59:02Z")

</div>

Thanks Mia.

Would love to hear any suggestions from the experts you’ve tagged!
