Trello API returns "invalid value for idCheckItem" for /checklists/{id}/checkItems/{checkItemId}

Fraser R
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 4, 2018

To reproduce on the API docs website:

1) Make a board+card+checklist+item(s)

2) Go to https://developers.trello.com/v1.0/reference#checklistsidcards and enter your key and token and the checklistId. (This works.)

3) Go to https://developers.trello.com/v1.0/reference#checklistsidcardscheckitems and enter your key and token and the checklistId and one of the checklistItemIds from step 2. (This does NOT work.)

4) Metadata contains:
REQUEST DATA
"invalid value for idCheckItem"
STATUS
400 Bad Request

 

It's not a problem with the docs page, as I get the same result when calling the same endpoint from my server and browser.

 

ps. I tried clicking the Suggest Edits link in the API docs website, but it went to a 404 page :-(

1 answer

0 votes
bentley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 14, 2018

Good catch, @Fraser R!

It looks like we had the parameter names mismatched (idCheckItem and checkItemId) and that caused this to break. I've updated it so that they match and it appears to work as expected again.

Here is an example request using a public board that appears to work as expected: https://api.trello.com/1/checklists/55d39827b8629b45cb9c7272/checkItems/55d39827b8629b45cb9c7273

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events