<?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 PATCH API HTTP/1.1 400 Bad Request in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/PATCH-API-HTTP-1-1-400-Bad-Request/m-p/421588#M41808</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking to update some properties in contacts based off the following endpoints: &lt;A href="https://developers.hubspot.com/docs/api/crm/companies" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/api/crm/companies&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am doing a PATCH call&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://api.hubapi.com/crm/v3/objects/companies/XXXX?hapikey=XXXX" target="_blank" rel="noopener"&gt;https://api.hubapi.com/crm/v3/objects/companies/XXXX?hapikey=XXXX&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The header is content-type: application/json&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the payload {"properties":{"industry":"XX"}}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i get the following error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTTP/1.1 400 Bad Request&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated or any advice on how to troubleshoot further.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 24 Mar 2021 11:51:58 GMT</pubDate>
    <dc:creator>MPallot</dc:creator>
    <dc:date>2021-03-24T11:51:58Z</dc:date>
  </channel>
</rss>

