One of my users is reporting a 403 error with “Too many checklists” in the body, when the Power Up is trying to fetch the board data via call to api.trello.com/1/board/{idBoard}/cards.
Can you help me figure out what causes this error, and more importantly how can I fix it for him?
Anyone? I noticed that when I make a call with ‘fields’ parameter including all important fields except ‘checkItemStates’, the error disappears. Earlier I have been calling simply ‘?fields=all’.
I noticed that the ‘checkItemStates’ is null regardless if I have a checklist with a mix of completed/open items on the given card or no checklists at all. It seems strange to me to throw an error when due to using a field that is always ‘null’.
Are you having a bug there? Could you investigate and potentially update your API, so calling this API, with ‘?fields=all’ does not pose a risk of throwing this sort of errors in the future?
This can happen when a board has a very large number of checklists. The current limit is 5000, although that can change in the future. Given that this is an unusual situation, I don’t think we’d consider this a bug. If you need to work with such boards, it may be best to exclude that field. If you let us know more about your use case, we’re happy to help brainstorm workarounds as well.
Thank you for your reply and shedding some light on the matter, dbernal.
At the moment I believe I can get around without that field being present. However, I am considering adding, in the future, functionality that would require information about the checklists to be present and that might become an issue.
I think it would be a good strategy for you to inform our users that they are crossing the limit, when they are creating new checklists. Else, they have valid reason to expect, that their checklists can be fully processed by both you and custom Power Ups.
I am good for now and I will reach out if the new functionality will prove to cause issues, so we can brainstorm a solution, as you suggested.
I’m having similar issue with my integration with zapier
(The app returned “Too many checklists”) I tried deleting some cards but doesn’t seems to work
Gold Membership have more checklist avalible to use?
This error indicates that the API request is trying to return too many checklists. But that doesn’t mean that you have too many checklists in Trello.
Can you go into more detail on how the integration is setup? Ideally, the request to Trello’s API can be updated to limit the number of checklists being asked for.
Unfortunately, this is something on the Zapier side. The request that they are making to get all of the card data is the cause of the issue.
A workaround for this would be to create a custom HTTP Post via Zapier - like the second half of this template: Make a new webhook POST every month. You’d need to include your own Trello API key and token, but you’d be in complete control of the POST request to add an attachment to a card in Trello. This does require a fair bit more of work, but it should get you around the error.