Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting error "Requested too many cards, please limit" when importing data from Trello.

Luiz C. S. Borges May 27, 2024

The institution I work for acquired "Jira (Cloud)" but we've been using Trello for a long time.

Most of the boards were successfully migrated via JIRA's Import Wizard, but we've got a big board that we haven't succeeded yet.

The complete error message is:

{"path":"cards","originalMessage":{"message":"Requested too many cards, please limit","error":{"name":"API::TooManyCardsRequested","message":"Requested too many cards, please limit","stack":"API::TooManyCardsRequested: Requested too many cards, please limit\n at checkLimits (/opt/service/app/api/1/mixins/cards.js:48:31)\n at Object.fx (/opt/service/app/api/1/mixins/cards.js:692:21)\n at async BoardHandler.handleRequest (/opt/service/app/api/1/handler.js:637:20)\n at async addPaths (/opt/service/app/components/api.js:266:30)\n at async getPathDependencies (/opt/service/app/components/transformer.js:76:9)\n at async Promise.all (index 1)\n at async transformMany (/opt/service/app/components/transformer.js:128:77)\n at async Object.transformOne (/opt/service/app/components/transformer.js:149:25)\n at async Object.fx (/opt/service/app/api/1/board.js:2272:42)\n at async BoardHandler.handleRequest (/opt/service/app/api/1/handler.js:637:20)\n at async BoardHandler._runHandlerWithRequest (/opt/service/app/api/1/handler.js:786:28)"}},"originalStatus":403}

Is there a way to increase that limit? What is the limit anyway?

1 answer

0 votes
Sunny Ape
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 27, 2024

Hello @Luiz C. S. Borges 

That error message looks like you've hit Trello's 1,000 items per response limit. You'll need to do the migration of the cards in that board in batches.

Break the request down in smaller sets using Paging, not one big request.

Luiz C. S. Borges May 27, 2024

The board has just over 2000 cards, not including those archived.

How do I do it in batches without losing important info? JIRA's Import Wizard shows no such option (Paging).

I tried this by creating a copy of the board and deleting one of the lists. The import went through, but the new JIRA card ended up referencing the Trello comments (literally a hyperlink to the Trello card) instead of making a copy of all the information. Additionally, all comments added by different users to Trello cards appeared in the Jira card as if they were made by the importing user.

Sunny Ape
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 27, 2024

Paging is a feature of Trello's REST API itself, so maybe the wizard doesn't allow access to it.

Why not just reduce the number of cards in the Trello board in the first place?

Are archived cards 'ignored' by the migration wizard? If so, use that method to 'hide' large numbers of cards on the board in batches.

Are archived lists 'ignored' by the migration wizard? Use that method to migrate the lists in batches.

Alternatively, move cards out of the board to a 'dummy' board until there are less than 1,000 cards in the source board. Migrate those cards, then delete them. Move back the next batch of < 1,000 cards, migrate them, then delete them. Repeat until all cards have been migrated.

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events