error 404 - not_found for client.CollaborationsManager.GetCollaborationAsync

新規投稿

コメント

2件のコメント

  • Nayak

    Hi , I presume you are trying to pass the file/folder id rather than the collaboration id which is expected by the endpoint. You would first need to get the collaboration id by calling the get file collaborators or get folder collaborators endpoints and then pass the appropriate collaboration id to the Get collaboration endpoint.

     

    Regards,

    Nayak

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

    Agreed with that assessment. A 404 generally means the resource with that ID does not exist, or the currently authenticated user does not have access to that resource. I assume you have access to the file you're trying to get the collaborators for? If so, then the ID is probably wrong.

    You can use this API to get the collabs for a file.

     

    https://developer.box.com/reference/get-files-id-collaborations/

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

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