<?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: Webhook for Deals in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Webhook-for-Deals/m-p/1167708#M82767</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/586290"&gt;@ArisudanTiwari&lt;/a&gt;&amp;nbsp;for the response, i will try&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jun 2025 00:05:51 GMT</pubDate>
    <dc:creator>JCabataña</dc:creator>
    <dc:date>2025-06-23T00:05:51Z</dc:date>
    <item>
      <title>Webhook for Deals</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Webhook-for-Deals/m-p/1167067#M82745</link>
      <description>&lt;P&gt;Hi, why am I getting this error message for Webhooks? I tested my endpoint using Postman and it worked — I was able to receive JSON data. However, when it comes to HubSpot Deal creation, I get the following error response. Any ideas on what might be causing this?&lt;BR /&gt;&lt;BR /&gt;{&lt;BR /&gt;"success": {&lt;BR /&gt;"statusCode": 417&lt;BR /&gt;},&lt;BR /&gt;"fail": null&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 09:53:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Webhook-for-Deals/m-p/1167067#M82745</guid>
      <dc:creator>JCabataña</dc:creator>
      <dc:date>2025-06-20T09:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: Webhook for Deals</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Webhook-for-Deals/m-p/1167260#M82756</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/956443"&gt;@JCabataña&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;That &lt;EM&gt;"417 Expectation Failed"&lt;/EM&gt; error you're seeing usually means HubSpot is sending a request with a header your server isn’t expecting, specifically the &lt;EM&gt;"Expect: 100-Continue"&lt;/EM&gt;&amp;nbsp; header.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;So why does this happen?&lt;BR /&gt;When HubSpot sends a webhook, it may include the &lt;EM&gt;"Expect: 100-Continue"&lt;/EM&gt;&amp;nbsp; header. This is totally normal, but some servers or proxies don’t know how to handle it and just reject the request, which leads to the 417 error.&lt;/P&gt;
&lt;P&gt;When you test the same endpoint in Postman, it works fine because Postman usually doesn’t send that header at all.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Here’s how you can fix it:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL data-start="712" data-end="1033"&gt;
&lt;LI data-start="712" data-end="909"&gt;Update your server to either ignore or handle the &lt;EM&gt;"Except"&lt;/EM&gt; header.
&lt;UL data-start="787" data-end="909"&gt;
&lt;LI data-start="787" data-end="856"&gt;In Node.js/Express, you can add middleware to bypass or process it.&lt;/LI&gt;
&lt;LI data-start="859" data-end="909"&gt;In .NET, you can turn off the expectation check.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI data-start="910" data-end="1033"&gt;If you're running behind a proxy or load balancer, make sure it’s not blocking or misinterpreting that header either.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P data-start="1035" data-end="1074"&gt;A few other things to double-check:&lt;/P&gt;
&lt;UL data-start="1075" data-end="1352"&gt;
&lt;LI data-start="1075" data-end="1154"&gt;Make sure your webhook URL is publicly accessible and secured with HTTPS.&lt;/LI&gt;
&lt;LI data-start="1155" data-end="1250"&gt;The endpoint shouldn’t require any extra headers or authentication that HubSpot doesn’t send.&lt;/LI&gt;
&lt;LI data-start="1251" data-end="1352"&gt;And just in case, make sure your HubSpot app or workflow has the right webhook permissions set up.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Here are a few links you can check-&lt;BR /&gt;&lt;A href="https://developers.hubspot.com/docs/api/webhooks" target="_blank"&gt;https://developers.hubspot.com/docs/api/webhooks&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Deal-created-webhooks-not-firing/m-p/1098269/highlight/true?profile.language=fr" target="_blank"&gt;https://community.hubspot.com/t5/APIs-Integrations/Deal-created-webhooks-not-firing/m-p/1098269/highlight/true?profile.language=fr&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Webhook-URL-fails-SubscriptionWebhookErrorCategory-CONNECTION/m-p/675158" target="_blank"&gt;https://community.hubspot.com/t5/APIs-Integrations/Webhook-URL-fails-SubscriptionWebhookErrorCategory-CONNECTION/m-p/675158&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/566437/http-post-returns-error-417-expectation-failed" target="_blank"&gt;https://stackoverflow.com/questions/566437/http-post-returns-error-417-expectation-failed&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://sitechecker.pro/what-is-417-status-code/" target="_blank"&gt;https://sitechecker.pro/what-is-417-status-code/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 17:51:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Webhook-for-Deals/m-p/1167260#M82756</guid>
      <dc:creator>ArisudanTiwari</dc:creator>
      <dc:date>2025-06-20T17:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Webhook for Deals</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Webhook-for-Deals/m-p/1167708#M82767</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/586290"&gt;@ArisudanTiwari&lt;/a&gt;&amp;nbsp;for the response, i will try&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 00:05:51 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Webhook-for-Deals/m-p/1167708#M82767</guid>
      <dc:creator>JCabataña</dc:creator>
      <dc:date>2025-06-23T00:05:51Z</dc:date>
    </item>
  </channel>
</rss>

