-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Description
Hi there,
I want to update a checklist item with :
$client = new Client();
$client->authenticate(env('TRELLO_API_KEY'), env('TRELLO_API_TOKEN'), Client::AUTH_URL_CLIENT_ID);
$card = $client->cards()->show($report_category->trello_card_id);
$checklistId = $card['idChecklists'][0];
$checklists = $client->card()->checklists()->all($card['id']);
$checkItemId = $checklists[0]['checkItems'][0]['id'];
$checkItem = $client->card()->checklists()->updateItem($card['id'], $checklistId, $checkItemId,
[
'state' => 'complete'
]
);But I want to execute this, an error appears :
Trello \ Exception \ RuntimeException (404)
Cannot PUT /1/cards/5d4a20142da4a07bbc21b99a/checklists/5d4a2015dff67c16ccac8d64/checkItem/5d4ab33e48e8396343770dc9?key=***&token=
Metadata
Metadata
Assignees
Labels
No labels