Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

API Response Timeout with a specific combination of request parameters

Wei Wang August 19, 2022

Hello Experts, please help!

When trying to retrieve all the cards on a specific list A, it returns a 504 error (Response Timeout). However, I got a 200 response while sending the same GET request with other lists (e.g. list B and list C). There are 190 cards in total on list A, 166 cards on list B and 466 cards on list C. I am unable to reproduce this issue on other lists on the same board, neither any lists on other boards.

The endpoint that I am trying to call:

https://api.trello.com/1/lists/{id}/cards?key={api_key}&token={api_token}&filter=open&actions=createCard,commentCard&fields=dateLastActivity,desc,name,labels&attachments=cover&attachment_fields=fileName,url,date&sort=-id&limit=300&before=

The parameters included in the request:

  • filter
  • actions
  • fields
  • attachments
  • attachment_fields
  • sort
  • limit
  • before

 

In order to analyze the problem, I tried to test each parameters of the request and found the issue. The request can be successfully processed once I removed the parameter attachment_fields and sort. It also worked when I removed the input "commentCard" from the parameter actions.

Can someone please tell me if there is any problem with the request I wrote or what could be causing this?

Thank you in advance!

Best regards,
Wei

1 answer

0 votes
Alex Waite
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 24, 2022

Hey @Wei Wang - do you mind raising this in the Developer Community instead? You can find the Trello Dev Community over at https://community.developer.atlassian.com/c/trello/42

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events