How to create a trello checklist using the Trello.net Edge library

1

I'm trying (unsuccessfully) to use the Trello.Net Edge library to create a checklist in a given card . The problem is that: whenever I try to create the checkilist an error is returned saying that the value of the idCard field is invalid and the method I am consuming does not ask for this argument. Here is the code I used:

Board board = trello.Boards.WithId("[idBoard]");
Checklist ch = trello.Checklists.Add("Teste", board); //erro lançado nesta linha...

I can get / include / change any other information. But, I can no longer include this checklist. Here is the message:

  

An unhandled exception of type 'TrelloNet.TrelloException' occurred   in TrelloNet.dll Additional information: invalid value for idCard

    
asked by anonymous 08.06.2016 / 18:32

0 answers