I have a card with a checklist in the format:
username - cardlink
I have a command that, when a member is removed from the card, it finds the card with the checklist and removes the item from the checklist. I then want to archive the card at the link I just removed.

The command finds the checklist item and removes it just fine. But it can't find the card linked in the checklist item I just removed. I get back:
Card id "" doesn't seem valid.
I also tried using {checklistitemlink} and even tried {removedchecklistitemlink} just to see if such a thing existed. But I always get the same error: Card id "" doesn't seem valid.
I'm genuinely lost as to why I can't get this to work. Any help would be appreciated!