Not allowed to write to custom objects even though crm.objects.custom.write was in scope

I have crm.objects.custom.write scopes in my private app. but I have an error like this

{

"status": "error",

"message": "This app hasn't been granted all required scopes to make this call. Read more about required scopes here: https://developers.hubspot.com/scopes.",

"correlationId": "0a5ab4bc-b7b5-45f8-ae16-7a9a198e5a1e",

"errors": \[

    {

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

        "context": {

            "requiredScopes": \[

                "crm.objects.custom.write"

            ]

        }

    }

],

"links": {

    "scopes": "https://developers.hubspot.com/scopes"

},

"category": "MISSING\_SCOPES"

}

Could you kindly tell me what solution is?

Hey, @ISavchenko :waving_hand: Did you get this resolved? If not, can you confirm the highest level of subscription — Starter, Professional, Enterprise, this portal has?

Thanks! — Jaycee

Hi @ISavchenko

Give scope of crm.schemas.custom to your pvt app. This will give you permission to read and write the custom object. If it still don’t work please share the screenshot of the scopes and your code.

Hope this will helps you out. Please mark it as Solution Accepted & Upvote to help other Community member.
Thanks!