Response status code does not indicate success: 429 (Too Many Requests)
Excellent utility but when I ran this for the first time today I received
Unhandled exception. System.Net.Http.HttpRequestException: Response status code does not indicate success: 429 (Too Many Requests). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken) at GoldenSyrupGames.T2MD.Cli.GetBoardCommentsAsync(String boardID) at GoldenSyrupGames.T2MD.Cli.ProcessTrelloBoardAsync(TrelloApiBoardModel trelloApiBoard, CliOptions options, Dictionary`2 duplicateBoardSuffixes) at GoldenSyrupGames.T2MD.Cli.RunAsync(CliOptions options) at GoldenSyrupGames.T2MD.Cli.Main(String[] args) at GoldenSyrupGames.T2MD.Cli.<Main>(String[] args)
Thanks for the report!
Yep, this and 503 errors happen intermittently. I'll definitely need to add a retry handler.
For now you might or might not be able to get past it by running again a few times.
On Tue, Jan 24, 2023, 1:28 PM Mark Caple @.***> wrote:
Excellent utility but when I ran this for the first time today I received
Unhandled exception. System.Net.Http.HttpRequestException: Response status code does not indicate success: 429 (Too Many Requests). at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode() at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken) at GoldenSyrupGames.T2MD.Cli.GetBoardCommentsAsync(String boardID) at GoldenSyrupGames.T2MD.Cli.ProcessTrelloBoardAsync(TrelloApiBoardModel trelloApiBoard, CliOptions options, Dictionary`2 duplicateBoardSuffixes) at GoldenSyrupGames.T2MD.Cli.RunAsync(CliOptions options) at GoldenSyrupGames.T2MD.Cli.Main(String[] args) at GoldenSyrupGames.T2MD.Cli. (String[] args)
— Reply to this email directly, view it on GitHub https://github.com/GSGBen/t2md/issues/45, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADX4AQNEUXBZFT4CQF2YJ3DWT445RANCNFSM6AAAAAAUERT5UA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I'm having the same issue, it appears to be an issue with trello's API rate limiting, not sure if it's because I'm a free trello user or not.
From the trello API docs ". There is a limit of 300 requests per 10 seconds for each API key and 100 requests per 10 second interval for each token."; the relevant trello doc
Would it be possible to add a rate limit flag? I'm fine if it's slow, I just want to export all my data off trello finally :)
For those also struggling with this problem I've got around it by getting a list of boards, pasting that to a text editor, adding quotes around each, then doing the export in chunks with the --boards-to-include "board 1" "board 2" etc command
note to anyone else trying the "export in chunks" approach--t2md clears the folder at the beginning of each run... so don't try to use the same output folder for each chunk!