Search code examples
trello.net

Create a CheckList using Trello.Net Edge


I am trying to create a checkList, but it throws an exception with this description: "invalid value for idCard" this is the code that i am using:

var checkList = trello.Checklists.Add("My CheckList", b);

my doubt is why it throws an exception for idCard but there is no way to specify one in the method?


Solution

  • Had the same issue.

    Here is a work around:

    dynamic mychecklist = trello.Advanced.Post("/checklists", new { idCard = CardID, name = CheckList.Name, idChecklistSource = CheckList.Id} );