Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,846
Community Members
 
Community Events
168
Community Groups

API Response Timeout with a specific combination of request parameters

Edited

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 Aug 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
Community showcase
Published in Trello

A Trello template to help you clean up your Confluence Space

Calling all Trello + Confluence users! We're celebrating all things Work and Wellness in our Confluence collection, where our team has been sharing activities to create more mindfulness around the ...

902 views 4 13
Read article

Atlassian Community Events