<?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 Re: Programmable Automation May Office Hours - Thread for Questions in Data Hub</title>
    <link>https://community.hubspot.com/t5/Data-Hub/Programmable-Automation-May-Office-Hours-Thread-for-Questions/m-p/653615#M920</link>
    <description>&lt;P&gt;Hi there!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Without seeing your code, based on the error message it looks to be an authentication issue which means that you may not have configured your Secrets correctly. You can see how to configure your secrets &lt;A href="https://developers.hubspot.com/docs/api/workflows/custom-code-actions" target="_blank" rel="noopener"&gt;here.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'll first need to create a private app with access to the specific areas of HubSpot that you need. There are more details on how to configure private apps &lt;A href="https://developers.hubspot.com/docs/api/private-apps" target="_blank" rel="noopener"&gt;here&lt;/A&gt;. Once you've done that, you can add that private app to your Secrets drop down in the custom code action, and then reference that in your code. Hope this helps!&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jun 2022 13:36:03 GMT</pubDate>
    <dc:creator>EGolborne</dc:creator>
    <dc:date>2022-06-22T13:36:03Z</dc:date>
    <item>
      <title>Programmable Automation May Office Hours - Thread for Questions</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Programmable-Automation-May-Office-Hours-Thread-for-Questions/m-p/626184#M845</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We originally had a Programmable Automation Office Hours scheduled for May 10th, but unfortunately we will have to cancel it. We apologize for any inconvenience, but are looking forward to seeing everyone at our &lt;/SPAN&gt;&lt;A href="https://events.hubspot.com/events/details/hubspot-hubspot-academy-presents-custom-automation-office-hour-2022-06-14/" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;June office hours&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We still want to be able to answer all of your questions, and also really value getting the time to understand how you’re using these features and where we can improve them, so we’re kicking off this thread so we can still have those conversations.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/5724"&gt;@jackcoldrick&lt;/a&gt;&amp;nbsp;and I will be monitoring this thread and answering any questions you have about our Operations Hub Programmable Automation features. Let us know how we can help!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 14:22:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Programmable-Automation-May-Office-Hours-Thread-for-Questions/m-p/626184#M845</guid>
      <dc:creator>EGolborne</dc:creator>
      <dc:date>2022-05-03T14:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Programmable Automation May Office Hours - Thread for Questions</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Programmable-Automation-May-Office-Hours-Thread-for-Questions/m-p/645786#M903</link>
      <description>&lt;P&gt;Not sure if this is the right place to post, but I'm running into an error while using the code from the Automation contact deduplication use case. It is successfully identifying duplicates but running into an error when it tries to merge.&amp;nbsp;&lt;/P&gt;&lt;P&gt;022-06-02T17:03:13.935Z ERROR Unhandled Promise Rejection {"errorType":"Runtime.UnhandledPromiseRejection","errorMessage":"HttpError: HTTP request failed","reason":{"errorType":"HttpError","errorMessage":"HTTP request failed","response":{"statusCode":401,"body":{"status":"error","message":"Authentication credentials not found. This API supports both API Key and OAuth 2.0 authentication and you can find more details at &lt;A href="https://developers.hubspot.com/docs/methods/auth/oauth-overview" target="_blank"&gt;https://developers.hubspot.com/docs/methods/auth/oauth-overview&lt;/A&gt;","correlationId":"bc0f85eb-b94a-4126-922a-0af227b13bab","category":"INVALID_AUTHENTICATION"},"headers":{"date":"Thu, 02 Jun 2022 17:03:13 GMT","content-type":"application/json;charset=utf-8","content-length":"316","connection":"close","cf-ray":"7151c2de7a4a6fb0-IAD","strict-transport-security":"max-age=31536000; includeSubDomains; preload","vary":"Accept-Encoding","cf-cache-status":"DYNAMIC","access-control-allow-credentials":"false","expect-ct":"max-age=604800, report-uri=\"&lt;A href="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\" target="_blank"&gt;https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct\&lt;/A&gt;"","x-hubspot-correlation-id":"bc0f85eb-b94a-4126-922a-0af227b13bab","x-trace":"2B45EDE401B146B1F69B1C172D4A9A365B7A587D0C000000000000000000","report-to":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=g3bFr0zB7uW4LerStx18VUAbNVUAM5iGAoARftAM%2BjaHj9TYE77MG7Jtq%2FUdH6NKXoRk%2FT9RroA3%2FXLwMubgjNynVfZIa3eLXkgpiN499fR%2FQ8AOH3tZKl17BnMVHNIv\"}],\"group\":\"cf-nel\",\"max_age\":604800}","nel":"{\"success_fraction\":0.01,\"report_to\":\"cf-nel\",\"max_age\":604800}","server":"cloudflare","alt-svc":"h3=\":443\"; ma=86400, h3-29=\":443\"; ma=86400"},"request":{"uri":{"protocol":"https:","slashes":true,"auth":null,"host":"api.hubapi.com","port":null,"hostname":"api.hubapi.com","hash":null,"search":"?properties=phone","query":"properties=phone","pathname":"/crm/v3/objects/contacts/222551","path":"/crm/v3/objects/contacts/222551?properties=phone","href":"&lt;A href="https://api.hubapi.com/crm/v3/objects/contacts/222551?properties=phone" target="_blank"&gt;https://api.hubapi.com/crm/v3/objects/contacts/222551?properties=phone&lt;/A&gt;"},"method":"GET","headers":{"User-Agent":"hubspot-api-client-nodejs; 3.4.1","Accept":"application/json"}}},"body":{},"statusCode":401,"name":"HttpError","stack":["HttpError: HTTP request failed"," at Request._callback (/opt/nodejs/node_modules/@hubspot/api-client/lib/codegen/crm/contacts/api/basicApi.js:318:40)"," at Request.self.callback (/opt/nodejs/node_modules/request/request.js:185:22)"," at Request.emit (events.js:314:20)"," at Request.&amp;lt;anonymous&amp;gt; (/opt/nodejs/node_modules/request/request.js:1154:10)"," at Request.emit (events.js:314:20)"," at IncomingMessage.&amp;lt;anonymous&amp;gt; (/opt/nodejs/node_modules/request/request.js:1076:12)"," at Object.onceWrapper (events.js:420:28)"," at IncomingMessage.emit (events.js:326:22)"," at endReadableNT (_stream_readable.js:1241:12)"," at processTicksAndRejections (internal/process/task_queues.js:84:21)"]},"promise":{},"stack":["Runtime.UnhandledPromiseRejection: HttpError: HTTP request failed"," at process.&amp;lt;anonymous&amp;gt; (/var/runtime/index.js:35:15)"," at process.emit (events.js:314:20)"," at processPromiseRejections (internal/process/promises.js:209:33)"," at processTicksAndRejections (internal/process/task_queues.js:98:32)"]}&lt;/P&gt;&lt;P&gt;Memory: 57/128 MB&lt;BR /&gt;Runtime: 823.62 ms&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm brand new to Operations Hub and coding in node.js so I'm not sure where to even look to solve this issue. Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 18:29:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Programmable-Automation-May-Office-Hours-Thread-for-Questions/m-p/645786#M903</guid>
      <dc:creator>MBrooks414</dc:creator>
      <dc:date>2022-06-07T18:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Programmable Automation May Office Hours - Thread for Questions</title>
      <link>https://community.hubspot.com/t5/Data-Hub/Programmable-Automation-May-Office-Hours-Thread-for-Questions/m-p/653615#M920</link>
      <description>&lt;P&gt;Hi there!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Without seeing your code, based on the error message it looks to be an authentication issue which means that you may not have configured your Secrets correctly. You can see how to configure your secrets &lt;A href="https://developers.hubspot.com/docs/api/workflows/custom-code-actions" target="_blank" rel="noopener"&gt;here.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You'll first need to create a private app with access to the specific areas of HubSpot that you need. There are more details on how to configure private apps &lt;A href="https://developers.hubspot.com/docs/api/private-apps" target="_blank" rel="noopener"&gt;here&lt;/A&gt;. Once you've done that, you can add that private app to your Secrets drop down in the custom code action, and then reference that in your code. Hope this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 13:36:03 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/Data-Hub/Programmable-Automation-May-Office-Hours-Thread-for-Questions/m-p/653615#M920</guid>
      <dc:creator>EGolborne</dc:creator>
      <dc:date>2022-06-22T13:36:03Z</dc:date>
    </item>
  </channel>
</rss>

