You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello Community,
We are collecting data for all checklists present in all the boards. So, we are collecting all the boards from "/boards" endpoint and for all the boards, we are collecting the respective checklists using "/boards/board-id-1/checklists" endpoint.
But recently we are facing 504 errors during these API Calls. Is it an issue from Trello's side or we are doing something wrong here?
The error we are encountering:
"504 Server Error: Gateway Timeout for URL: https://api.trello.com/1/boards/my-board-id/checklists?fields=all&checkItem_fields=all"
Thanks.
Hey @hp
Likely what's going on here is that your board has a lot of checklists, and it's taking Trello longer than the time allowed (30 seconds) to process and return them. Technically, this is something we need to fix. We don't use this API internally in our clients, so it's not optimized for large boards at this point.
I would suggest in the meantime you switch to a different API call, that lets you paginate through cards and checklists on those cards - this should enable you to get all checklists from a board (albeit requires writing more logic).
A call like api.trello.com/1/boards/<my-board-id>/cards?fields=&checklists=all&limit=100&since=<last-seen-card-id> should get you what you need
Felix
Thank you @Felix for the response.
We have tried updating this call, but we have 2 points:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1. Yes, the `/checklists` endpoint doesn't support pagination currently
2. Looks like you're just missing `limits`? I don't think that's currently available via the `/cards` route. Same with `creationMethod` - also currently not available.
Why do you need these fields?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.