mheap / trello-cli

Command line client for Trello
296 stars 46 forks source link

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

Open MathewBlanc opened 2 months ago

MathewBlanc commented 2 months ago

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.

chadcallahan commented 1 month ago

@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.

mheap commented 1 month ago

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