API Scope Error - Exporting Orders from Younium to HubSpot

Hello!

I’m encountering an issue while trying to export orders from Younium to HubSpot. The API call fails with the following error message:

{“status”:“error”,“message”:“The scope needed for this API call isn’t available for public use. If you have questions, contact support or post in our developer forum.”,“correlationId”:“37803e52-2b84-3d17-b93c-12c2a3647556”,“links”:{“support”:“https://help.hubspot.com/",“forum”:“https://community.hubspot.com/t5/APIs-Integrations/bd-p/integrations”},“category”:"MISSING\_SCOPES”}

Error Occurs When:

I attempt to POST data from Younium to HubSpot. I specifically want to export younium orders to Hubspot Deals.

Questions:

  • What specific scope is required for this API call to export orders?
  • Is there a way to request additional scopes if they are not publicly available?
  • Are there alternative approaches to achieving the same result?

Hi @CVL8,

Which HubSpot API endpoint are you using to import the deals into HubSpot?

Is it POST /crm/v3/objects/deals? If so, that endpoint would need the crm.objects.deals.write scope.