{"action":"created","issue":{"url":"https://api.github.com/repos/box/box-java-sdk/issues/132","labels_url":"https://api.github.com/repos/box/box-java-sdk/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/box/box-java-sdk/issues/132/comments","events_url":"https://api.github.com/repos/box/box-java-sdk/issues/132/events","html_url":"https://github.com/box/box-java-sdk/issues/132","id":88218707,"number":132,"title":"Failure in subscription for enterprise events","user":{"login":"raj-jain","id":12472659,"avatar_url":"https://avatars.githubusercontent.com/u/12472659?v=3","gravatar_id":"","url":"https://api.github.com/users/raj-jain","html_url":"https://github.com/raj-jain","followers_url":"https://api.github.com/users/raj-jain/followers","following_url":"https://api.github.com/users/raj-jain/following{/other_user}","gists_url":"https://api.github.com/users/raj-jain/gists{/gist_id}","starred_url":"https://api.github.com/users/raj-jain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raj-jain/subscriptions","organizations_url":"https://api.github.com/users/raj-jain/orgs","repos_url":"https://api.github.com/users/raj-jain/repos","events_url":"https://api.github.com/users/raj-jain/events{/privacy}","received_events_url":"https://api.github.com/users/raj-jain/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-14T17:25:34Z","updated_at":"2015-06-20T10:15:02Z","closed_at":"2015-06-20T10:15:02Z","body":"My app needs to subscribe for all the enterprise events within Box no matter which user's activity caused them. We're using a \"business\" level account (not an \"enterprise\" level account) for this testing with Box, but what I'm trying to accomplish should be doable with a \"business\" level account.\r\n\r\nMy OAuth2 scope is set as:\r\n\r\n* Read and write all files and folders\r\n* Manage an enterprise\r\n\r\nYet, after successfully completing OAuth2 process, when I issue the following request (Authorization header omitted):\r\n\r\nGET https://api.box.com/2.0/events?limit=800&stream_position=now&stream_type=admin_logs\r\nAccept-Charset: utf-8\r\nAccept-Encoding: gzip\r\nUser-Agent: Box Java SDK v1.0.0\r\n\r\nI get back a 403:\r\n\r\nHTTP/1.1 403 Forbidden\r\nAge: 0\r\nWWW-Authenticate: Bearer realm=\"Service\", error=\"insufficient_scope\", error_description=\"The request requires higher privileges than provided by the access token.\"\r\nDate: Sun, 14 Jun 2015 16:31:55 GMT\r\nContent-Length: 0\r\nConnection: keep-alive\r\nServer: ATS\r\n\r\nWhat am I doing wrong that I'm getting a 403?"},"comment":{"url":"https://api.github.com/repos/box/box-java-sdk/issues/comments/113741091","html_url":"https://github.com/box/box-java-sdk/issues/132#issuecomment-113741091","issue_url":"https://api.github.com/repos/box/box-java-sdk/issues/132","id":113741091,"user":{"login":"raj-jain","id":12472659,"avatar_url":"https://avatars.githubusercontent.com/u/12472659?v=3","gravatar_id":"","url":"https://api.github.com/users/raj-jain","html_url":"https://github.com/raj-jain","followers_url":"https://api.github.com/users/raj-jain/followers","following_url":"https://api.github.com/users/raj-jain/following{/other_user}","gists_url":"https://api.github.com/users/raj-jain/gists{/gist_id}","starred_url":"https://api.github.com/users/raj-jain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raj-jain/subscriptions","organizations_url":"https://api.github.com/users/raj-jain/orgs","repos_url":"https://api.github.com/users/raj-jain/repos","events_url":"https://api.github.com/users/raj-jain/events{/privacy}","received_events_url":"https://api.github.com/users/raj-jain/received_events","type":"User","site_admin":false},"created_at":"2015-06-20T10:15:02Z","updated_at":"2015-06-20T10:15:02Z","body":"I've since then learned that Box \"admin_logs\" events (a.k.a. Enterprise events) are only supported for Enterprise accounts not Business accounts. Thus, the 403 response. There are some other problems with SDK's support for Enterprise events that I'll capture in a separate issue. Closing this issue ..."}}