Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

error 404 - not_found for client.CollaborationsManager.GetCollaborationAsync

New post

Comments

2 comments

  • 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
    Comment actions Permalink
  • 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
    Comment actions Permalink

Please sign in to leave a comment.