[Private APP] Missing scope 'files' Error... But it has

Hi! I’m getting this error using node sdk

ApiException [Error]: HTTP-Code: 403 08:10:32
Message: An error occurred.
Body: {"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":"9cbb8e42-06e7-4172-bbf8-a1c092564a05","errors":[{"message":"All of the following scopes are required.","context":{"requiredScopes":["files"]}}],"links":{"scopes":"https://developers.hubspot.com/scopes"},"category":"MISSING_SCOPES"}

I’m trying to upload a file

Checked my scoppes in the app and i see ‘Files’ already

Scopes
crm.schemas.quotes.read
crm.objects.line_items.read
crm.objects.line_items.write
content
crm.schemas.line_items.read
automation
actions
timeline
forms
files
account-info.security.read
crm.export
tickets
settings.currencies.read
accounting
forms-uploaded-files
communication_preferences.read_write
crm.objects.goals.read
crm.lists.read
crm.objects.contacts.read
crm.import
communication_preferences.read
communication_preferences.write
settings.users.write
crm.objects.contacts.write
files.ui_hidden.read
crm.objects.marketing_events.read
crm.objects.marketing_events.write
crm.schemas.custom.read
crm.objects.custom.read
crm.objects.custom.write
crm.schemas.custom.write
crm.objects.companies.write
settings.users.read
crm.schemas.contacts.read
crm.lists.write
crm.objects.companies.read
crm.objects.deals.read
crm.objects.deals.write
crm.schemas.companies.read
crm.schemas.companies.write
crm.schemas.contacts.write
crm.schemas.deals.read
crm.schemas.deals.write
crm.objects.owners.read
settings.users.teams.write
settings.users.teams.read
conversations.read
conversations.write
crm.objects.quotes.write
crm.objects.quotes.read

Any suggestions?

Thanks!

Hi, @JAntenucci. Thanks for reaching out. Can you share an example request and response that returns the above error? This can help the community better understand root causes or suggest troubleshooting steps.

Thank you! — Jaycee

Hello,

I’m facing the same issue if you get any solution regarding this issue please share it here.
Thanks.