APIs & Integrations

chriscbs
Participant

Create Ticket Scope for Private App

SOLVE

I'm migrating my integrations to Hubspot Private Apps.

 

I've created an app and granted it the Ticket scope, but when I try to create a ticket I get the following response: "This app hasn't been granted all required scopes to make this call. Read more about required scopes here: https://developers.hubspot.com/scopes"

 

There is only a Request scope in the list of scopes for private apps (no Write).  How can I grant the right scope to be able to create tickets?

0 Upvotes
1 Accepted solution
chriscbs
Solution
Participant

Create Ticket Scope for Private App

SOLVE

Thanks Tominal.  I'm using the hubspot-api-python sdk and it turns out that I was just calling the wrong method. Using api_client.crm.tickets.basic_api.create() with the Ticket scope granted in the private app worked.

View solution in original post

2 Replies 2
tominal
Guide | Partner
Guide | Partner

Create Ticket Scope for Private App

SOLVE

Hey @chriscbs,

 

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.


Thomas Johnson
Community Champion


Kahu Software LLC
A Texan HubSpot consulting firm
https://kahusoftware.com
0 Upvotes
chriscbs
Solution
Participant

Create Ticket Scope for Private App

SOLVE

Thanks Tominal.  I'm using the hubspot-api-python sdk and it turns out that I was just calling the wrong method. Using api_client.crm.tickets.basic_api.create() with the Ticket scope granted in the private app worked.