Stop notification in Box API
Hi all, and thanks for helping.
I scanning the files' users that part of my service accounts through box-java-sdk.
When I am download files from users in the service account, they get an email notification that file was downloaded, What makes them the feeling that they account has been hacked.
I know that the notification can be changed by the admin in the admin console, but it is impossible to change that definetion becuase the security defintion of the organization.
I saw that in the BoxAPIConnection, that as part of the box-java-sdk, has suppressNotifications method, that disable the email notification from the user, but when I am using it, I get com.box.sdk.BoxAPIResponseException: The API returned an error code [403 | bssx39fzpdbrc520] access_denied_insufficient_permissions - Access denied - insufficient permission.
I understand from the message that missed permission, I tried to checked all the options in application scope, in admin console, also advanced features checked as well.
What am I missing? How can I disable the notification without getting that errors?
Thanks
-
Hello !
Welcome to the Box Community Forums and thanks for your first post!
It sounds like the scope to 'suppress notifications' is not enabled for your application. You can read more about this in our Developer Reference docs here or just skip over to https://support.box.com and raise a support ticket to request the enablement of the "Can suppress email notifications from API calls" scope.
サインインしてコメントを残してください。
コメント
2件のコメント