Accessing folder and file change logs using Java API

回答済み
新規投稿

コメント

3件のコメント

  • Kourtney

    Hello, 

     

    Thanks so much for using our Platform and Development Forum! 

     

    Could you please provide the full body response you're receiving so I can help investigate with our backend logs why you're getting this 403? 

     

    Best, 

    Kourtney

    0
    コメントアクション パーマリンク
  • Constant9

    Here is the exception output:

    com.box.sdk.BoxAPIResponseException: The API returned an error code [403 | 2pbv39fuwem746ju] forbidden - Forbidden
    	at com.box.sdk.BoxAPIResponse.(BoxAPIResponse.java:90)
    	at com.box.sdk.BoxJSONResponse.(BoxJSONResponse.java:32)
    	at com.box.sdk.BoxAPIRequest.trySend(BoxAPIRequest.java:551)
    	at com.box.sdk.BoxAPIRequest.send(BoxAPIRequest.java:326)
    	at com.box.sdk.BoxAPIRequest.send(BoxAPIRequest.java:301)
    	at com.box.sdk.EventLog.getEnterpriseEvents(EventLog.java:134)
    	at com.box.sdk.EventLog.getEnterpriseEvents(EventLog.java:75)

    Maybe the error is due to the account type?

    0
    コメントアクション パーマリンク
  • Kourtney

    Hello,

     

    One thing I'm seeing is that you have changed your application access to "enterprise", but haven't reauthorized your application since that change was made. You will need to do this in the apps tab of enterprise settings in the admin console in order for these changes to take effect. Additionally, you will need to enable the "manage enterprise properties scope"! Once you do both of these, re-test! 

     

    Best, 

    Kourtney  

    0
    コメントアクション パーマリンク

サインインしてコメントを残してください。