Box getEnterpriseEvents - 403 api error
We get this error when doing getEnterpriseEvents
com.box.sdk.BoxAPIException: The API returned an error code: 403
at com.box.sdk.BoxAPIResponse.(BoxAPIResponse.java:76)
at com.box.sdk.BoxAPIRequest.trySend(BoxAPIRequest.java:466)
at com.box.sdk.BoxAPIRequest.send(BoxAPIRequest.java:239)
at com.box.sdk.BoxAPIRequest.send(BoxAPIRequest.java:214)
at com.box.sdk.EventLog.getEnterpriseEvents(EventLog.java:111)
Can you please verify that the permission we need to crawl this is:
"Run new reports and access existing reports"
-
Hi ,
Thanks for your post. Are you an admin with reporting privileges?
You should have this view similar to the article here:
https://community.box.com/t5/How-to-Guides-for-Admins/Running-Reports/ta-p/26790
Hope that helps!
Let everyone in the forum here know if it's related to your 403 error!
-
To use the Enterprise Events endpoint, you need to enable the following application permissions:
- Application Access - "Enterprise"
- Application Scopes - "Manage enterprise properties"
After you enable these permissions, you will need to re-authorize your application within the Apps page of the Admin Console.
サインインしてコメントを残してください。
コメント
2件のコメント