404 Not found error while uploading file to box from JWT REST API

新規投稿

コメント

3件のコメント

  • Kourtney

      You're most likely using the default token for your JWT app, which is for the application's service account. You either need to add this service account as a collaborator on the content you're trying to access or get a token for someone who currently does have access. This can be done in the sub-claim of your JWT assertion. 

     

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

    How do you add the service account as collaborator? When I go to a folder and try to share and pick the service account, but dont see any.  I am developing a process to upload files to folders and it is giving me not founds. This seems like the issue, but have no idea how to give service account rights to the folder.

    0
    コメントアクション パーマリンク
  • Heather Louise Wells

    I have been struggling with this issue and finally figured out a solution - posting it here for any poor souls like me who finds the many threads like this one with no answers. The solution is to share the folder to your service account ID from the web page, just as if you were sharing to a new person by entering their email. You will find your service account ID under General Settings in the Box Developer Console. Once you've added the service account, the name of your app will show up as a user in the sharing panel. Make sure the access is set to Editor.

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

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