APIs & Integrations

jeanRoger
Member

Uploading a file using the api: Error Requires scope(s): [file-manager-write]

SOLVE

Hello , I'm trying to upload a file using the file-manager API, and i'm getting this error code

{
"status": "error",
"message": "Requires scope(s): [file-manager-write]",
"correlationId": "8cddddda-e507-4f28-97da-037ff060cec6"
}
I tried using axios and postman also, still getting this error
0 Upvotes
1 Accepted solution
jeanRoger
Solution
Member

Uploading a file using the api: Error Requires scope(s): [file-manager-write]

SOLVE

Hello, I found the solution, My account didn't have access to the filemanager scope, after trying with a correct developer account I was able to make it work

View solution in original post

0 Upvotes
2 Replies 2
dennisedson
HubSpot Product Team
HubSpot Product Team

Uploading a file using the api: Error Requires scope(s): [file-manager-write]

SOLVE

hi @jeanRoger ,

What portal are you trying to upload to?

0 Upvotes
jeanRoger
Solution
Member

Uploading a file using the api: Error Requires scope(s): [file-manager-write]

SOLVE

Hello, I found the solution, My account didn't have access to the filemanager scope, after trying with a correct developer account I was able to make it work

0 Upvotes