Skip to content

Dash + GitLab Error: This endpoint has been requested too many times

I am using the Dash tool to create review requests for our dependencies. After just 5 requests, it already fails with the following error:

[main] INFO
[main] INFO This content is either not correctly mapped by the system, or requires review.
[main] INFO A review is required for git/github/brofield/simpleini/4.19.
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/9388 .
[main] INFO A review is required for git/github/ArthurSonzogni/FTXUI/v4.0.0.
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/9389 .
[main] INFO A review is required for git/github/chriskohlhoff/asio/asio-1-24-0.
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/9390 .
[main] INFO A review is required for git/github/ikalnytskyi/termcolor/v2.1.0.
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/9391 .
[main] INFO A review is required for git/github/leethomason/tinyxml2/9.0.0.
[main] INFO A review request was created https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/9392 .
[main] INFO A review is required for git/github/gabime/spdlog/v1.11.0.
Exception in thread "main" java.lang.RuntimeException: org.gitlab4j.api.GitLabApiException: {"message":{"error":"This endpoint has been requested too many times. Try again later."}}
        at org.eclipse.dash.licenses.review.GitLabSupport.lambda$createReviews$0(GitLabSupport.java:89)
        at org.eclipse.dash.licenses.review.GitLabSupport.execute(GitLabSupport.java:111)
        at org.eclipse.dash.licenses.review.GitLabSupport.createReviews(GitLabSupport.java:45)
        at org.eclipse.dash.licenses.review.CreateReviewRequestCollector.close(CreateReviewRequestCollector.java:49)
        at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
        at org.eclipse.dash.licenses.cli.Main.main(Main.java:135)
Caused by: org.gitlab4j.api.GitLabApiException: {"message":{"error":"This endpoint has been requested too many times. Try again later."}}
        at org.gitlab4j.api.AbstractApi.validate(AbstractApi.java:642)
        at org.gitlab4j.api.AbstractApi.post(AbstractApi.java:287)
        at org.gitlab4j.api.IssuesApi.createIssue(IssuesApi.java:436)
        at org.eclipse.dash.licenses.review.GitLabConnection.createIssue(GitLabConnection.java:40)
        at org.eclipse.dash.licenses.review.GitLabSupport.lambda$createReviews$0(GitLabSupport.java:79)
        ... 5 more

Is there any way to increase the amount of requests?

Kind regards Florian