Lesstep
GitLab.com · Self-Managed · REST API · Checked October 25, 2026

GitLab: the list of merge requests answered 400 or 404

Merge requests come from three lists in GitLab's REST API: a project's (GET /projects/:id/merge_requests), a group's with its subgroups (GET /groups/:id/merge_requests), and every merge request you can see on the instance (GET /merge_requests). When GitLab refuses the query, a parameter it cannot use answers 400 with the reason in error, and a group it cannot find answers 404. The answers below are what gitlab.com said on October 25, 2026, with the rules from GitLab's documentation behind them.

HTTP/1.1 400 Bad Request

{"error":"reviewer_id, reviewer_username are mutually exclusive"}

400: what GitLab says, and why

401 and 404

200, but merge requests are missing

What to do

In IntelliJ IDEA: "Failed to load merge requests.", "The authorization token was revoked" and "… but merge request details loading failed"

The GitLab support built into IntelliJ IDEA turns these refusals into lines of its own. In the source (checked October 30, 2026; IntelliJ IDEA: GitLabMergeRequestErrorUtil.kt, GitLabHttpStatusError.kt, GitLabFiltersPanelFactory.kt, GitLabMergeRequestOnCurrentBranchService.kt, GitLabMergeRequestEditorReviewViewModel.kt, GitLabMergeRequestChanges.kt):

GitLab merge requests in IntelliJ IDEA

Merge Request Inbox for GitLab, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, lists open merge requests from these three: the project's list for "Open projects", the group's list for "Their group", and the instance-wide list with scope=all for "Everywhere", with reviewer_id or author_id for the lists "Waiting for my review", "I am a reviewer" and "Created by me". Without a token it lists all open merge requests of public projects, with the filters by you turned off, and for "Everywhere" it asks for a token instead. When the group answers 404, as a personal namespace does, it lists the project's own merge requests. From version 1.0.16, when the group was renamed or the project moved to another group since the clone, "Their group" lists that group under its new path; before, it listed only the project's own merge requests. Each list holds up to 200 merge requests, most recently updated first. Reading is free; approving, commenting and merging are Pro (US$1.50 a month, with a 30-day trial).

GITLAB is a trademark of GitLab Inc.; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with or endorsed by GitLab Inc. or JetBrains.

More: GitLab 404 "Project Not Found" · GitLab 404 "Group Not Found" · GitLab 401 "invalid_token" · GitLab "insufficient_scope" · GitLab merge refused (405, 409, 422) · GitLab approval refused (401, 409) · GitLab comment or thread refused (400, 403) · GitLab merge request not created (409, 422, 400) · GitLab rebase refused or failed (403, 409) · GitLab auto-merge refused (405) or canceled · GitLab merge request changes cut short ("1000+", too_large) · GitLab 429 "Retry later" (rate limits) · GitLab "compare_timeout": true (diff limits) · GitLab merge request plugins for IntelliJ IDEA, compared · 日本語