"Public Exports API is gated for this portal" error when trying to get export

Trying to get an export file/link of our CRM data (companies+all properties), but I am receiving this error:

“{“status”:“error”,“message”:“Public Exports API is gated for this portal”,“correlationId”:”",“category”:“MISSING_PERMISSIONS”}

Does anyone know which permissions are required to use this feature/endpoint? Getting this export file would save me a lot of time.

Here are the scopes the app has : automationcrm.lists.readcrm.objects.contacts.readsettings.users.writecrm.objects.contacts.writecrm.objects.marketing_events.readcrm.objects.marketing_events.writecrm.schemas.custom.readcrm.objects.custom.readcrm.objects.custom.writecrm.schemas.custom.writecrm.objects.companies.writesettings.users.readcrm.schemas.contacts.readcms.domains.readcms.domains.writesettings.billing.writecrm.lists.writecrm.objects.companies.readcrm.objects.deals.readcrm.objects.deals.writecrm.schemas.companies.readcrm.schemas.companies.writecrm.schemas.contacts.writecrm.schemas.deals.readcrm.schemas.deals.writecrm.objects.owners.readsettings.users.teams.writesettings.users.teams.readcrm.objects.quotes.writecrm.objects.quotes.readcrm.schemas.quotes.readcrm.objects.line_items.readcrm.objects.line_items.writecrm.schemas.line_items.readcrm.export

(sorry about formatting)

Thanks,

Jason

Here is the code:

#python3

import requests

url = “https://api.hubapi.com/crm/v3/exports/export/async

payload = ‘{“exportType”:“VIEW”,“format”:“CSV”,“exportName”:“test_name”,“objectProperties”:[“Developer”],“associatedObjectType”:“Company”,“objectType”:“Company”,“language”:“EN”}’

headers = {

“accept”: “application/json”,

“content-type”: “application/json”,

“authorization”: “[auth_code]”,

}

response = requests.request(“POST”, url, data=payload, headers=headers)

print(response.text)

Hey, @JHalarides :waving_hand: A few quick questions — is this for a portal with a paid subscription? If so, have you already filed a support ticket for this issue?

Thanks for the additional details! — Jaycee

Hello Jaycee!

Thanks for your reply. It is for out company portal, and it is a paid subscription.

I have not yet filed a support ticket. Is this what I should do? (could you send me a link? :sweat_smile:)

Jason

Hi Jaycee,

I am eager to receive the latest update on this beta API since I have encountered the same issue.

I use a developer account, private apps, all scopes are fulfilled, Sales Hub Professional subscription for my organization.

I am happy to raise ticket and provide more information, please kindly consult and support.

Chau,