<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Troubleshooting Custom Coded Actions in Data Hub</title>
    <link>https://community.hubspot.com/t5/Data-Hub/Troubleshooting-Custom-Coded-Actions/m-p/833433#M1707</link>
    <description>&lt;P&gt;I'm brand new to Javascript and Marketing Ops and I've recently been following a guide Jack Coldrick created on building a &lt;A href="https://events.hubspot.com/events/details/hubspot-hubspot-academy-presents-custom-automation-masterclass-workshop-3-creating-a-referral-program/" target="_blank" rel="noopener"&gt;referral program.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Since he wrote the guide, the syntax used to connect to the API has changed a little bit which is reflected in lines 12-15 in the code I've attached.&lt;BR /&gt;&lt;BR /&gt;In this particular action, Hubspot is supposed to be able to find a contact with the Referrer ID that matches a number that a prospect put into a form when they signed up for a demo. The action then updates a number of things on that same contact. (See the &lt;A href="https://events.hubspot.com/events/details/hubspot-hubspot-academy-presents-custom-automation-masterclass-workshop-3-creating-a-referral-program/" target="_blank" rel="noopener"&gt;guide link&lt;/A&gt; for more details.)&lt;BR /&gt;&lt;BR /&gt;I've spent the better part of this week running through every troubleshooting tip and article that I've been able to find, but my code still runs an error when enrolling a contact. Any idea what might be wrong with my syntax?&lt;BR /&gt;&lt;BR /&gt;Any and all help would be appreciated!&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-08-11 at 2.55.13 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/96893i0D12F53FEDA54323/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-08-11 at 2.55.13 PM.png" alt="Screen Shot 2023-08-11 at 2.55.13 PM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-08-11 at 2.55.01 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/96894i36CB8EC18BAFE6C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-08-11 at 2.55.01 PM.png" alt="Screen Shot 2023-08-11 at 2.55.01 PM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-08-11 at 2.54.41 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/96892i5CFB8D11CD0011FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-08-11 at 2.54.41 PM.png" alt="Screen Shot 2023-08-11 at 2.54.41 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2023 20:53:09 GMT</pubDate>
    <dc:creator>spen_wood</dc:creator>
    <dc:date>2023-08-14T20:53:09Z</dc:date>
    <item>
      <title>Troubleshooting Custom Coded Actions</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Troubleshooting-Custom-Coded-Actions/m-p/833433#M1707</link>
      <description>&lt;P&gt;I'm brand new to Javascript and Marketing Ops and I've recently been following a guide Jack Coldrick created on building a &lt;A href="https://events.hubspot.com/events/details/hubspot-hubspot-academy-presents-custom-automation-masterclass-workshop-3-creating-a-referral-program/" target="_blank" rel="noopener"&gt;referral program.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Since he wrote the guide, the syntax used to connect to the API has changed a little bit which is reflected in lines 12-15 in the code I've attached.&lt;BR /&gt;&lt;BR /&gt;In this particular action, Hubspot is supposed to be able to find a contact with the Referrer ID that matches a number that a prospect put into a form when they signed up for a demo. The action then updates a number of things on that same contact. (See the &lt;A href="https://events.hubspot.com/events/details/hubspot-hubspot-academy-presents-custom-automation-masterclass-workshop-3-creating-a-referral-program/" target="_blank" rel="noopener"&gt;guide link&lt;/A&gt; for more details.)&lt;BR /&gt;&lt;BR /&gt;I've spent the better part of this week running through every troubleshooting tip and article that I've been able to find, but my code still runs an error when enrolling a contact. Any idea what might be wrong with my syntax?&lt;BR /&gt;&lt;BR /&gt;Any and all help would be appreciated!&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-08-11 at 2.55.13 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/96893i0D12F53FEDA54323/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-08-11 at 2.55.13 PM.png" alt="Screen Shot 2023-08-11 at 2.55.13 PM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-08-11 at 2.55.01 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/96894i36CB8EC18BAFE6C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-08-11 at 2.55.01 PM.png" alt="Screen Shot 2023-08-11 at 2.55.01 PM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-08-11 at 2.54.41 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/96892i5CFB8D11CD0011FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-08-11 at 2.54.41 PM.png" alt="Screen Shot 2023-08-11 at 2.54.41 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 20:53:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Troubleshooting-Custom-Coded-Actions/m-p/833433#M1707</guid>
      <dc:creator>spen_wood</dc:creator>
      <dc:date>2023-08-14T20:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Custom Coded Actions</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Troubleshooting-Custom-Coded-Actions/m-p/833901#M1709</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/614209"&gt;@spen_wood&lt;/a&gt;,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I've recently implemented this for my company and had a similar issue I managed to fix! I can't see the code snippet attached, could you send it again and I'll have a look?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 00:52:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Troubleshooting-Custom-Coded-Actions/m-p/833901#M1709</guid>
      <dc:creator>timo1</dc:creator>
      <dc:date>2023-08-14T00:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Custom Coded Actions</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Troubleshooting-Custom-Coded-Actions/m-p/834399#M1713</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/128294"&gt;@timo1&lt;/a&gt;&amp;nbsp;Good catch, forgot the screenshots... thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 20:53:43 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Troubleshooting-Custom-Coded-Actions/m-p/834399#M1713</guid>
      <dc:creator>spen_wood</dc:creator>
      <dc:date>2023-08-14T20:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Custom Coded Actions</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Troubleshooting-Custom-Coded-Actions/m-p/834486#M1714</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/614209"&gt;@spen_wood&lt;/a&gt;&amp;nbsp;What error are you getting? Can you take a screenshot?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 02:14:57 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Troubleshooting-Custom-Coded-Actions/m-p/834486#M1714</guid>
      <dc:creator>timo1</dc:creator>
      <dc:date>2023-08-15T02:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Custom Coded Actions</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Troubleshooting-Custom-Coded-Actions/m-p/834764#M1717</link>
      <description>&lt;P&gt;One thing I would try is using the hubspot api with axios instead of the node hubspotclient – I've never had any luck with that thing&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 13:42:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Troubleshooting-Custom-Coded-Actions/m-p/834764#M1717</guid>
      <dc:creator>John</dc:creator>
      <dc:date>2023-08-15T13:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Custom Coded Actions</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Troubleshooting-Custom-Coded-Actions/m-p/835021#M1721</link>
      <description>&lt;P&gt;It's not really giving me anything specific unless I'm just looking in the wrong spot. This is all I can figure out&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-08-15 at 3.43.18 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/96981iCB025859722D60A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-08-15 at 3.43.18 PM.png" alt="Screen Shot 2023-08-15 at 3.43.18 PM.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-08-15 at 3.42.36 PM.png" style="width: 443px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/96980i7C50A743640C9AA0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-08-15 at 3.42.36 PM.png" alt="Screen Shot 2023-08-15 at 3.42.36 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 21:44:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Troubleshooting-Custom-Coded-Actions/m-p/835021#M1721</guid>
      <dc:creator>spen_wood</dc:creator>
      <dc:date>2023-08-15T21:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Custom Coded Actions</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Troubleshooting-Custom-Coded-Actions/m-p/835027#M1722</link>
      <description>&lt;P&gt;Actually found it&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2023-08-15 at 3.47.36 PM.png" style="width: 371px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/96983i34529F3766EA3504/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2023-08-15 at 3.47.36 PM.png" alt="Screen Shot 2023-08-15 at 3.47.36 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 21:48:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Troubleshooting-Custom-Coded-Actions/m-p/835027#M1722</guid>
      <dc:creator>spen_wood</dc:creator>
      <dc:date>2023-08-15T21:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Custom Coded Actions</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Troubleshooting-Custom-Coded-Actions/m-p/835118#M1724</link>
      <description>&lt;P&gt;We had to adjust the search query, converting the referrer id to a string so it could be matched. We also changed some of the syntaxes within the search as they were outdated.&lt;BR /&gt;&lt;BR /&gt;Have a look at this and make some amends to yours.&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-08-16 at 1.28.08 PM.png" style="width: 592px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/96995i8F82A67537A88B08/image-dimensions/592x370?v=v2" width="592" height="370" role="button" title="Screenshot 2023-08-16 at 1.28.08 PM.png" alt="Screenshot 2023-08-16 at 1.28.08 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Note: instead of "referrer" I named my property referrer code.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2023 05:23:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Troubleshooting-Custom-Coded-Actions/m-p/835118#M1724</guid>
      <dc:creator>timo1</dc:creator>
      <dc:date>2023-08-16T05:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: Troubleshooting Custom Coded Actions</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Troubleshooting-Custom-Coded-Actions/m-p/969728#M2293</link>
      <description>&lt;P&gt;Verify that your code syntax aligns with the updated standards. Double-check API connection and Referrer ID matching. Review error messages and debug using &lt;A href="https://medicalbillingz.com/career-outlook-of-medical-coding-for-doctors/" target="_blank" rel="noopener"&gt;coding tools&lt;/A&gt;. Explore relevant API documentation and seek community support. Persistence pays off in debugging!&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 15:08:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Troubleshooting-Custom-Coded-Actions/m-p/969728#M2293</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-05-06T15:08:22Z</dc:date>
    </item>
  </channel>
</rss>

