<?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 hs_timestamp field is unset while making PATCH request on Email type of entity in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222410#M85376</link>
    <description>&lt;P&gt;I'm currently using and Integration and Migration tool known as OpsHub Integration Manager. Where one issue while developing the connector HubSpot with the OpsHub Integration Manager I'm facing is, when I do PATCH call to update&amp;nbsp;&lt;STRONG&gt;Email&amp;nbsp;&lt;/STRONG&gt; entity type, in my current implementation, whenever I make an PATCH request I provide the mandatory field &lt;STRONG&gt;hs_email_direction&amp;nbsp;&lt;/STRONG&gt;with value.&lt;BR /&gt;&lt;BR /&gt;But still sometimes when I try to sync the Email entity, then it gives me the below error&amp;nbsp;&lt;BR /&gt;REST query. URL: &lt;A href="https://api.hubapi.com/crm/v3/objects/emails/89699720276,HTTP" target="_blank"&gt;https://api.hubapi.com/crm/v3/objects/emails/89699720276,HTTP&lt;/A&gt; method: PATCH, status code: 400, exception: {"status":"error","message":"Error updating EMAIL.&amp;nbsp;Some required properties were cleared.","correlationId":"e9e4feae-43b7-4fd4-823c-b27153fc9508","context":{"properties":["hs_email_direction"]},"category":"VALIDATION_ERROR"}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So is there any issue in the current API when we concurrently makes mulitple requests or not.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Nov 2025 09:57:16 GMT</pubDate>
    <dc:creator>ASuthar</dc:creator>
    <dc:date>2025-11-11T09:57:16Z</dc:date>
    <item>
      <title>hs_timestamp field is unset while making PATCH request on Email type of entity</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222410#M85376</link>
      <description>&lt;P&gt;I'm currently using and Integration and Migration tool known as OpsHub Integration Manager. Where one issue while developing the connector HubSpot with the OpsHub Integration Manager I'm facing is, when I do PATCH call to update&amp;nbsp;&lt;STRONG&gt;Email&amp;nbsp;&lt;/STRONG&gt; entity type, in my current implementation, whenever I make an PATCH request I provide the mandatory field &lt;STRONG&gt;hs_email_direction&amp;nbsp;&lt;/STRONG&gt;with value.&lt;BR /&gt;&lt;BR /&gt;But still sometimes when I try to sync the Email entity, then it gives me the below error&amp;nbsp;&lt;BR /&gt;REST query. URL: &lt;A href="https://api.hubapi.com/crm/v3/objects/emails/89699720276,HTTP" target="_blank"&gt;https://api.hubapi.com/crm/v3/objects/emails/89699720276,HTTP&lt;/A&gt; method: PATCH, status code: 400, exception: {"status":"error","message":"Error updating EMAIL.&amp;nbsp;Some required properties were cleared.","correlationId":"e9e4feae-43b7-4fd4-823c-b27153fc9508","context":{"properties":["hs_email_direction"]},"category":"VALIDATION_ERROR"}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So is there any issue in the current API when we concurrently makes mulitple requests or not.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 09:57:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222410#M85376</guid>
      <dc:creator>ASuthar</dc:creator>
      <dc:date>2025-11-11T09:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: hs_timestamp field is unset while making PATCH request on Email type of entity</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222430#M85379</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/949462"&gt;@ASuthar&lt;/a&gt;, please verify that the &lt;STRONG&gt;hs_email_direction&lt;/STRONG&gt; property is being passed with a &lt;STRONG&gt;valid&lt;/STRONG&gt;, non-empty value in your payload. This error typically occurs when the field is sent as an &lt;STRONG&gt;empty string&lt;/STRONG&gt; or &lt;STRONG&gt;null&lt;/STRONG&gt;, which causes HubSpot to clear the property from the payload and since it’s a required property, the API rejects the update.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Refer to the official HubSpot documentation for the list of acceptable values for hs_email_direction:&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/api-reference/crm-emails-v3/guide" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/api-reference/crm-emails-v3/guide&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Moderator note: While this solution may not address the original poster’s specific situation, it could be helpful for other community members facing similar challenges.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 07:51:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222430#M85379</guid>
      <dc:creator>Christensen</dc:creator>
      <dc:date>2025-11-28T07:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: hs_timestamp field is unset while making PATCH request on Email type of entity</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222431#M85380</link>
      <description>&lt;P&gt;yes have validated that, it is passing correctly, still getting this type of error.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 10:55:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222431#M85380</guid>
      <dc:creator>ASuthar</dc:creator>
      <dc:date>2025-11-11T10:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: hs_timestamp field is unset while making PATCH request on Email type of entity</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222447#M85382</link>
      <description>&lt;P&gt;If the payload is being passed correctly, could you try sending the exact same payload manually via Postman to confirm whether it succeeds?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;If it works in Postman but fails through your code, the issue is likely related to how your library or serialization process is handling the data.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Testing it directly in Postman will help isolate whether the problem is with the HubSpot API itself or with how your code constructs and sends the PATCH request.&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Moderator note: While this solution may not address the original poster’s specific situation, it could be helpful for other community members facing similar challenges.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Nov 2025 07:52:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222447#M85382</guid>
      <dc:creator>Christensen</dc:creator>
      <dc:date>2025-11-28T07:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: hs_timestamp field is unset while making PATCH request on Email type of entity</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222448#M85383</link>
      <description>&lt;P&gt;normally using Postman it is working fine, but I think the main issue is in concurrent API requests being made for updating the Email entity.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 11:28:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222448#M85383</guid>
      <dc:creator>ASuthar</dc:creator>
      <dc:date>2025-11-11T11:28:29Z</dc:date>
    </item>
    <item>
      <title>Re: hs_timestamp field is unset while making PATCH request on Email type of entity</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222459#M85386</link>
      <description>&lt;P&gt;If it’s working consistently in Postman, then concurrency by itself wouldn’t cause the &lt;STRONG&gt;hs_email_direction&lt;/STRONG&gt; field to be cleared. The HubSpot API doesn’t clear required properties automatically during simultaneous updates.&lt;BR /&gt;&lt;BR /&gt;This error still indicates that at least one of your requests is sending an empty or invalid value for &lt;STRONG&gt;hs_email_direction&lt;/STRONG&gt;. I’d recommend logging each concurrent request’s payload to confirm that the property is always populated before the PATCH call is made. Even small timing differences or serialization issues in your code can result in an empty field being passed intermittently.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 11:48:18 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222459#M85386</guid>
      <dc:creator>Christensen</dc:creator>
      <dc:date>2025-11-11T11:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: hs_timestamp field is unset while making PATCH request on Email type of entity</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222460#M85387</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1007207"&gt;@Christensen&lt;/a&gt;&amp;nbsp;, Thanks for your responses, but how you are sure about this as no such behaviour is occuring in the API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 11:50:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222460#M85387</guid>
      <dc:creator>ASuthar</dc:creator>
      <dc:date>2025-11-11T11:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: hs_timestamp field is unset while making PATCH request on Email type of entity</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222465#M85388</link>
      <description>&lt;P&gt;If this were a "concurrency"-related issue, you’d typically see a 429 status code with a RATE_LIMITS category. However, your error shows a 400 status with VALIDATION_ERROR, which means the problem occurred during data validation, not due to concurrent requests.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;That indicates the request payload is failing schema validation (in this case, the &lt;STRONG&gt;hs_email_direction&lt;/STRONG&gt; property being empty or invalid), rather than HubSpot rejecting it for "concurrency" or rate limiting.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 12:05:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222465#M85388</guid>
      <dc:creator>Christensen</dc:creator>
      <dc:date>2025-11-11T12:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: hs_timestamp field is unset while making PATCH request on Email type of entity</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222473#M85389</link>
      <description>&lt;P&gt;I absolutely agree with your point,&amp;nbsp; but what if there could be some delay in updating the data from the API and being reflected on the UI.&lt;BR /&gt;&lt;BR /&gt;Let's say in first event the Email Direction field is being set with some value using the API, now immediate another API call on the same entity is made.&lt;BR /&gt;&lt;BR /&gt;And in this event, first it fetches the field value for the for the current Email entity, now during this fetch it might get this Email direction field empty (which ideally should be updated by the initial API call.)&lt;BR /&gt;&lt;BR /&gt;Now when this second PATCH request is made then at that time it will have this stale state of the Email Direction field, which results in such issue.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 12:17:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222473#M85389</guid>
      <dc:creator>ASuthar</dc:creator>
      <dc:date>2025-11-11T12:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: hs_timestamp field is unset while making PATCH request on Email type of entity</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222484#M85390</link>
      <description>&lt;P&gt;The delay in the UI vs API is a known behaviour however the stale state you are talking about should be handled in your code not by the HubSpot API endpoint because when making a request in an endpoint, it expects that you are following the schema hence why it was returning a validation error.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 12:41:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222484#M85390</guid>
      <dc:creator>Christensen</dc:creator>
      <dc:date>2025-11-11T12:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: hs_timestamp field is unset while making PATCH request on Email type of entity</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222492#M85392</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1007207"&gt;@Christensen&lt;/a&gt;&amp;nbsp;, can you please let me know where this delay's known behaviour is mentioned&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 13:00:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222492#M85392</guid>
      <dc:creator>ASuthar</dc:creator>
      <dc:date>2025-11-11T13:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: hs_timestamp field is unset while making PATCH request on Email type of entity</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222497#M85393</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/949462"&gt;@ASuthar&lt;/a&gt;&amp;nbsp;no&amp;nbsp;official mention of this behavior specifically for the &lt;STRONG&gt;UI&lt;/STRONG&gt;, but it’s a long-observed pattern noted by developers working with custom integrations. The only documented reference to this delay appears in the Search API limitations section of HubSpot’s official documentation:&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/api-reference/search/guide#limitations" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/api-reference/search/guide#limitations&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Limitations&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;"It may take a few moments for newly created or updated CRM objects to appear in search results."&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 13:12:32 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222497#M85393</guid>
      <dc:creator>Christensen</dc:creator>
      <dc:date>2025-11-11T13:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: hs_timestamp field is unset while making PATCH request on Email type of entity</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222500#M85396</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1007207"&gt;@Christensen&lt;/a&gt;&amp;nbsp;, thanks for the information, but still didn't get any concrete documentation for the unusual behaviour in this API.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Nov 2025 13:14:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1222500#M85396</guid>
      <dc:creator>ASuthar</dc:creator>
      <dc:date>2025-11-11T13:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: hs_timestamp field is unset while making PATCH request on Email type of entity</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1223614#M85485</link>
      <description>&lt;P&gt;Hi &lt;SPAN&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/949462"&gt;@ASuthar&lt;/a&gt;&lt;/SPAN&gt;, I hope that you are well! Thanks so much &lt;SPAN&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1007207"&gt;@Christensen&lt;/a&gt;&lt;/SPAN&gt; for your help!&lt;BR /&gt;&lt;BR /&gt;To access email and meeting engagement data via API, you need the sales-email-read scope (for email content) along with standard CRM object scopes.&lt;BR /&gt;&lt;BR /&gt;The scopes crm.objects.meetings.read and crm.objects.emails.read should be available when setting up OAuth for your app.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For n8n integration:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;- &lt;A href="https://developers.hubspot.com/docs/api-reference/crm-meetings-v3/guide" target="_blank" rel="noopener"&gt;Use the Meetings API&lt;/A&gt;&amp;nbsp;to retrieve meeting data&lt;BR /&gt;- &lt;A href="https://developers.hubspot.com/docs/api-reference/crm-emails-v3/guide" target="_blank" rel="noopener"&gt;Use the Email Engagements API&lt;/A&gt;&amp;nbsp;to retrieve email data&lt;BR /&gt;- &lt;A href="https://developers.hubspot.com/changelog/advanced-auth-and-scope-settings-for-public-apps" target="_blank" rel="noopener"&gt;Ensure your OAuth app includes both scopes in the auth settings&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If these scopes aren't appearing in your app's scope list, you may need to enable advanced scope settings in your HubSpot app configuration (available since April 2024).&lt;BR /&gt;&lt;BR /&gt;Check your app's auth settings to add these as required or conditionally required scopes.&lt;BR /&gt;&lt;BR /&gt;Let us know how it goes!&lt;BR /&gt;Bérangère&lt;BR /&gt;&lt;BR /&gt;&lt;I&gt;This post was created with the assistance of AI tools.&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Nov 2025 17:37:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/hs-timestamp-field-is-unset-while-making-PATCH-request-on-Email/m-p/1223614#M85485</guid>
      <dc:creator>BérangèreL</dc:creator>
      <dc:date>2025-11-13T17:37:25Z</dc:date>
    </item>
  </channel>
</rss>

