新しいBoxサポートサイトへようこそ。 変更点の詳細はこちらをご確認ください .

AddCollaborationAsync failing with folder not found.

回答済み
新規投稿

コメント

2件のコメント

  • saurabh0109

    i am facing same issue with other APIs as well for adding tasks or comments to file.

    //for adding tasks
    var req = new BoxTaskCreateRequest()
                    {
                        DueAt =  Convert.ToDateTime(dueDate),
                        Message = message,
                        Item = new BoxRequestEntity()
                        {
                            Id = fileId,
                            Type = BoxType.file
                        }
                    };
    
                    bxtask = await boxAdminClient.TasksManager.CreateTaskAsync(req);
    
    //for adding comment
    var req = new BoxCommentRequest()
                    {
                        Message = message,
                        Item = new BoxRequestEntity()
                        {
                            Id = itemId,
                            Type = BoxType.file
                        }
                    };
    
                    bxcomment = await boxAdminClient.CommentsManager.AddCommentAsync(req);

    Can anyone please help solve this ?

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

    solved. I was using the wrong boxClient object. 

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

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