<?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: Create Ticket Scope for Private App in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Create-Ticket-Scope-for-Private-App/m-p/720814#M58880</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/479676"&gt;@chriscbs&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What do your current scopes look like in your code? The scopes have been changed to be more granular and it is easy to mess up.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Nov 2022 01:23:50 GMT</pubDate>
    <dc:creator>tominal</dc:creator>
    <dc:date>2022-11-21T01:23:50Z</dc:date>
    <item>
      <title>Create Ticket Scope for Private App</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Create-Ticket-Scope-for-Private-App/m-p/720637#M58871</link>
      <description>&lt;P&gt;I'm migrating my integrations to Hubspot Private Apps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've created an app and granted it the Ticket scope, but when I try to create a ticket I get the following response: "&lt;EM&gt;This app hasn't been granted all required scopes to make this call. Read more about required scopes here: &lt;A href="https://developers.hubspot.com/scopes&amp;quot;" target="_blank"&gt;https://developers.hubspot.com/scopes"&lt;/A&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is only a &lt;EM&gt;Request&lt;/EM&gt; scope in the list of scopes for private apps (no &lt;EM&gt;Write&lt;/EM&gt;).&amp;nbsp; How can I grant the right scope to be able to create tickets?&lt;/P&gt;</description>
      <pubDate>Sat, 19 Nov 2022 14:06:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Create-Ticket-Scope-for-Private-App/m-p/720637#M58871</guid>
      <dc:creator>chriscbs</dc:creator>
      <dc:date>2022-11-19T14:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create Ticket Scope for Private App</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Create-Ticket-Scope-for-Private-App/m-p/720814#M58880</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/479676"&gt;@chriscbs&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What do your current scopes look like in your code? The scopes have been changed to be more granular and it is easy to mess up.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 01:23:50 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Create-Ticket-Scope-for-Private-App/m-p/720814#M58880</guid>
      <dc:creator>tominal</dc:creator>
      <dc:date>2022-11-21T01:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create Ticket Scope for Private App</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Create-Ticket-Scope-for-Private-App/m-p/724121#M59116</link>
      <description>&lt;P&gt;Thanks Tominal.&amp;nbsp; I'm using the hubspot-api-python sdk and it turns out that I was just calling the wrong method. Using&amp;nbsp;&lt;SPAN&gt;api_client&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;crm&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;tickets&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;basic_api&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;create() with the Ticket scope granted in the private app worked.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 13:50:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Create-Ticket-Scope-for-Private-App/m-p/724121#M59116</guid>
      <dc:creator>chriscbs</dc:creator>
      <dc:date>2022-11-29T13:50:08Z</dc:date>
    </item>
  </channel>
</rss>

