Java SDK - 404 File Not Found on publicly available document

新規投稿

コメント

1件のコメント

  • Kourtney

     

     

    A 404 indicates that the token you're using doesn't have access to the file you're trying to call. Keep in mind that the developer token you're using is associated with the user that's logged into the dev console when you generate it. However, if you're using a JWT app you're most likely defaulting to calling with the apps service account. You're only going to be able to successfully interact with content the user associated with your token either owns or has collaborator access to. 

     

    As for expires_at, this is the expiry time of the access token you're using. The default value is in seconds, and will always be 3600, or 1 hour.

     

    I also wanted to make a quick note that you should never share your tokens with anyone, especially in public forums like this. I have redacted it from your original message! 

     

    Best, 

    Kourtney

    Box Technical Support Engineer

     

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

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