trello-cli icon indicating copy to clipboard operation
trello-cli copied to clipboard

Warning: Cannot read properties of undefined (reading 'id')

Open MathewBlanc opened this issue 1 year ago • 2 comments

Hi,

Freshly installed today, and I'm getting this error whenever I try to create a card:

Screenshot 2024-08-25 at 5 03 09 PM

I've checked, and it seems like my install is good:

Screenshot 2024-08-25 at 5 03 16 PM

I've also had a quick look through the trello.db file and I can't see any boards/cards/lists/etc without an id.

I'm a little lost as to how to debug this further, any suggestions would be greatly appreciated, or let me know if you need any more information from me.

MathewBlanc avatar Aug 25 '24 07:08 MathewBlanc

@MathewBlanc when you do a sync, do you see an error at the end (TypeError: Cannot read properties of undefined (reading 'id'))? i have the same problem when creating a card on one specific board. and it works fine on other boards. oddly enough, if i rename the board that i have the problem with, then it works. but not everything i rename it to fixes the problem. very strange. the name of the board that was causing the problem was "Work". and when i renamed it to "Life" it then let me create cards with no issue.

chadcallahan avatar Sep 06 '24 18:09 chadcallahan

@MathewBlanc Can you try running trello sync and try creating a card again?

mheap avatar Sep 17 '24 10:09 mheap

@MathewBlanc had the same issue but on a different endpoint. Turns out my app was not properly configured, Once I created a new one with the proper setup it worked.

lucasansei avatar Jan 18 '25 19:01 lucasansei