Skip to main content

Hi, I am facing the issue where I’m getting back the following error when trying to enable webhooks for a folder via the API using a valid OAuth token:

error="insufficient_scope", error_description="The request requires higher privileges than provided by the access token."

Example of a request:

curl -X POST "https://api.box.com/2.0/webhooks" -H 'authorization: Bearer '$BOX_TOKEN'' -H "content-type: application/json" -d '{"target": {"id": "0", "type": "folder"}, "address": "xxx", "triggers": s"FILE.UPLOADED", "FILE.TRASHED", "FILE.RESTORED", "FILE.MOVED", "FILE.RENAMED"]}'

I can confirm that Manage webhooks is enabled in the console. I have also followed steps to here to make sure the app is enabled the app in the admin console. Note that there’s no authorization option for OAuth apps under Platform Apps Manager -> User Authentication Apps tab

I’m facing this issue even with a fresh token is obtained after making the configuration changes above.

What can be done to overcome this?

Be the first to reply!

Reply