APIs & Integrations

664976
Member

MISSING_SCOPES

SOLVE

Hi. I am working with PHP and HubSpot API. I would like to push updates from a mysql DB to hubspot.

 

I am able to do so with contacts and products. However, i created a custom object and when i try to run an create or update i get the error: "context":{"requiredScopes":["crm.objects.custom.write"]}}],"links":{"scopes":""},"category":"MISSING_SCOPES"}.

 

I checked on the Private App scope, and i do have the crm.objects.custom.write.

 

Scopes
crm.objects.deals.readcrm.objects.contacts.readcrm.objects.commercepayments.readcrm.objects.contacts.writecrm.objects.custom.writecrm.objects.custom.readcrm.objects.deals.writecrm.importcrm.exporte-commerce

 

Can anyone point me on the correct direction please?

0 Upvotes
1 Accepted solution
zach_threadint
Solution
Guide

MISSING_SCOPES

SOLVE

Hi @664976 👋

 

Very strange, indeed. Are you using HubSpot's PHP API client library? If you haven't already, I'd also recommend triple-checking you're authenticating with the intended Private App.

 

It might also be helpful to share some additional information about the API request(s) you're making, for example: endpoint, headers, request body etc.

 

I hope this proves helpful. Please let me know if you have any follow-up questions.

All the best,

Zach

--

Zach Klein
HubSpot Integrations & App Developer
Meanjin / Brisbane, Australia



Say g'day


If my post helped answer your query, please consider marking it as a solution.


View solution in original post

0 Upvotes
1 Reply 1
zach_threadint
Solution
Guide

MISSING_SCOPES

SOLVE

Hi @664976 👋

 

Very strange, indeed. Are you using HubSpot's PHP API client library? If you haven't already, I'd also recommend triple-checking you're authenticating with the intended Private App.

 

It might also be helpful to share some additional information about the API request(s) you're making, for example: endpoint, headers, request body etc.

 

I hope this proves helpful. Please let me know if you have any follow-up questions.

All the best,

Zach

--

Zach Klein
HubSpot Integrations & App Developer
Meanjin / Brisbane, Australia



Say g'day


If my post helped answer your query, please consider marking it as a solution.


0 Upvotes