<?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: Unable to PATCH Schema in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-PATCH-Schema/m-p/1093255#M79433</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811"&gt;@zach_threadint&lt;/a&gt;&amp;nbsp;for looking into this, much appreicated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you need anymore information from me.&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jan 2025 09:32:25 GMT</pubDate>
    <dc:creator>Graham-OUB</dc:creator>
    <dc:date>2025-01-13T09:32:25Z</dc:date>
    <item>
      <title>Unable to PATCH Schema</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-PATCH-Schema/m-p/1091869#M79367</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello everyone&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I’m encountering an issue with a Custom Schema update while using the HubSpot PHP SDK (v10). I’ve been successfully using this functionality for years, but today it suddenly stopped working, and I’m now receiving a 404 error related to an unrecognised scope.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;The URL I am using:&lt;/P&gt;&lt;PRE&gt;PATCH &lt;A href="https://api.hubapi.com/crm/v3/schemas/{objectName}" target="_blank" rel="noopener"&gt;https://api.hubapi.com/crm/v3/schemas/{objectName}&lt;/A&gt;&lt;/PRE&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;The (partial) error response:&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;"status": "error",&lt;BR /&gt;"message": "cobject-edit-all-1 is not a valid scope"&lt;BR /&gt;}&lt;/PRE&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;At random intervals, I’ve also seen a similar 404 error with the following message:&lt;/P&gt;&lt;PRE&gt;{&lt;BR /&gt;"status": "error",&lt;BR /&gt;"message": "cobject-edit-team-owned-1 is not a valid scope"&lt;BR /&gt;}&lt;/PRE&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;I’m struggling to identify what these scopes (&lt;SPAN class=""&gt;cobject-edit-all-1&lt;/SPAN&gt;&amp;nbsp;and &lt;SPAN class=""&gt;cobject-edit-team-owned-1&lt;/SPAN&gt;) are or how to resolve the issue. I’ve reviewed the available scopes in HubSpot’s documentation but haven’t found anything that matches.&lt;/P&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;Here are the scopes currently applied:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;crm.schemas.custom.read&lt;/LI&gt;&lt;LI&gt;crm.objects.custom.read&lt;/LI&gt;&lt;LI&gt;crm.objects.custom.write&lt;/LI&gt;&lt;LI&gt;crm.schemas.custom.write&lt;/LI&gt;&lt;/UL&gt;&lt;P class=""&gt;Has anyone encountered this issue before or can shed light on what these error messages mean? Any guidance on how to resolve this would be greatly appreciated!&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 09 Jan 2025 14:02:28 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-PATCH-Schema/m-p/1091869#M79367</guid>
      <dc:creator>Graham-OUB</dc:creator>
      <dc:date>2025-01-09T14:02:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to PATCH Schema</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-PATCH-Schema/m-p/1092152#M79387</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/880828"&gt;@Graham-OUB&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've not come across this error message before. Would you please share an example of a request body that is leading to these errors?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jan 2025 21:56:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-PATCH-Schema/m-p/1092152#M79387</guid>
      <dc:creator>zach_threadint</dc:creator>
      <dc:date>2025-01-09T21:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to PATCH Schema</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-PATCH-Schema/m-p/1092303#M79393</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811"&gt;@zach_threadint&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've gone into the PHP SDK and dumped the JSON payload before it sends the request, below is the payload which is producing the above error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{"requiredProperties":[],"searchableProperties":["oub_ref","formatted_address"],"primaryDisplayProperty":"oub_ref","secondaryDisplayProperties":["formatted_address"]}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;This morning, when I attempted the request again, I got new, slightly different error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;cobject-delete-owned-1 is not a valid scope&lt;/PRE&gt;&lt;P&gt;Hope that helps!&lt;BR /&gt;&lt;BR /&gt;Thanks for your help&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 09:06:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-PATCH-Schema/m-p/1092303#M79393</guid>
      <dc:creator>Graham-OUB</dc:creator>
      <dc:date>2025-01-10T09:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to PATCH Schema</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-PATCH-Schema/m-p/1092699#M79411</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/880828"&gt;@Graham-OUB&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for sharing the additional information. I've been able to replicate the issue you're experiencing and agree there seems to be an issue with this endpoint.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/230185"&gt;@BérangèreL&lt;/a&gt;&amp;nbsp;Would you please take a look at this? It's the "Update a schema" endpoint:&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/reference/api/crm/objects/schemas" target="_blank"&gt;https://developers.hubspot.com/docs/reference/api/crm/objects/schemas&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I've tried multiple different approaches, but it seems even the simplest call to update an existing custom object's schema is resulting in an error similar to that described by &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/880828"&gt;@Graham-OUB&lt;/a&gt;. Thanks &lt;span class="lia-unicode-emoji" title=":raising_hands:"&gt;🙌&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 22:25:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-PATCH-Schema/m-p/1092699#M79411</guid>
      <dc:creator>zach_threadint</dc:creator>
      <dc:date>2025-01-10T22:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to PATCH Schema</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-PATCH-Schema/m-p/1092718#M79413</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811"&gt;@zach_threadint&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for the tag. I'll get this added to my tasks. I'll update here or post any additional requests I get. — Jaycee&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2025 23:27:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-PATCH-Schema/m-p/1092718#M79413</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2025-01-10T23:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to PATCH Schema</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-PATCH-Schema/m-p/1093255#M79433</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811"&gt;@zach_threadint&lt;/a&gt;&amp;nbsp;for looking into this, much appreicated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if you need anymore information from me.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2025 09:32:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Unable-to-PATCH-Schema/m-p/1093255#M79433</guid>
      <dc:creator>Graham-OUB</dc:creator>
      <dc:date>2025-01-13T09:32:25Z</dc:date>
    </item>
  </channel>
</rss>

