# Unable to create a record for custom object

**URL:** <https://community.hubspot.com/t/unable-to-create-a-record-for-custom-object/149692>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [May 26, 2026, 10:01am UTC](https://community.hubspot.com/t/unable-to-create-a-record-for-custom-object/149692 "2026-05-26T10:01:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [May 26, 2026, 10:01am UTC](https://community.hubspot.com/t/unable-to-create-a-record-for-custom-object/149692/1 "2026-05-26T10:01:01Z")

</div>

I have a public oauth app. I am trying to create a record for custom object.

Request:

POST

[https://api.hubapi.com/crm/objects/2026-03/2-61659350](https://api.hubapi.com/crm/objects/2026-03/2-61659350)

{“properties”:{“game\_name”:“Cricket”,“captain”:“Sourav Ganguly”,“team”:“India”}}  
Response:

{

“status”: “error”,

“message”: “This app hasn’t been granted all required scopes to make this call. Read more about required scopes here: [Scopes - HubSpot docs](https://developers.hubspot.com/scopes.)”,

“correlationId”: “019e63ab-542f-7af5-a5b9-c3b0f5ac5ff1”,

“errors”: [

{

“message”: “One or more of the following scopes are required.”,

“context”: {

“requiredGranularScopes”: [

“crm.schemas.custom.write”,

“crm.objects.custom.write”,

“crm.objects.custom.highly\_sensitive.write.v2”,

“crm.objects.custom.sensitive.write.v2”

]

}

}

],

“links”: {

“scopes”: “[Working with OAuth - HubSpot docs](https://developers.hubspot.com/scopes)”

},

“category”: “MISSING\_SCOPES”

}  
When I introspect the access token, I see the scopes below

“scopes”: [

“crm.objects.services.read”,

“crm.objects.services.write”,

“crm.objects.appointments.read”,

“crm.objects.appointments.write”,

“oauth”,

“tickets”,

“crm.objects.contacts.read”,

“crm.objects.contacts.write”,

“crm.objects.custom.read”,

“crm.objects.custom.write”,

“crm.objects.companies.write”,

“crm.objects.companies.read”,

“crm.objects.deals.read”,

“crm.objects.deals.write”,

“crm.objects.owners.read”,

“crm.objects.quotes.write”,

“crm.objects.quotes.read”,

“crm.objects.line\_items.read”,

“crm.objects.line\_items.write”,

“crm.objects.invoices.read”,

“crm.objects.orders.write”,

“crm.objects.orders.read”,

“crm.objects.leads.read”,

“crm.objects.leads.write”,

“crm.objects.courses.read”,

“crm.objects.courses.write”,

“crm.objects.products.read”,

“crm.objects.products.write”,

“crm.objects.projects.read”,

“crm.objects.projects.write”

]  
Please let me know what is the scope I am missing?

---

<div class="post-metadata">

**Author:** ![MichaelMa](https://avatars.discourse-cdn.com/v4/letter/m/b5ac83/32.png) [@MichaelMa](https://community.hubspot.com/u/MichaelMa)\
**Post date:** [May 26, 2026, 12:11pm UTC](https://community.hubspot.com/t/unable-to-create-a-record-for-custom-object/149692/2 "2026-05-26T12:11:25Z")

</div>

Have you tried adding all the scopes you don’t have from the list? You don’t have the schema or the sensitive scopes that are listed.

If you’re writing to sensitive fields, you need the sensitive field scopes regardless of other scopes. if you’re modifying the schema, you need the schema scope.
