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

GitLab: the changes of a merge request are cut short, or answer 404

GitLab's REST API gives the files a merge request changes in pages from List merge request diffs (GET /projects/:id/merge_requests/:merge_request_iid/diffs, GitLab 15.7 and later), and in one answer from the older GET /projects/:id/merge_requests/:merge_request_iid/changes, which GitLab deprecated in 15.7 and plans to remove in API v5. Both give what GitLab stored for the merge request, and the diff limits decide how much that is. The answers below are what gitlab.com said on October 25, 2026, with the rules from GitLab's documentation behind them.

HTTP/1.1 404 Not Found

{"message":"404 Not found"}

The diff limits

200, but files or diffs are missing

404 from /diffs or /changes

What to do

GitLab merge requests in IntelliJ IDEA

Merge Request Inbox for GitLab, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, reads a merge request's changed files from the list of diffs, 100 a page, up to 3,000 files, and from /changes on a GitLab that answers 404 for the list. Each file opens in the IDE's diff with the whole file read at the merge base and at the head commit, so a file whose diff GitLab left out still shows its changes. From version 1.0.17, when GitLab kept only the first files (changes_count ending in "+", or "overflow": true) or there are more than 3,000, the count of viewed files says that only the first files are listed and that git diff shows the rest; before, the list ended without saying so. Right after a merge request is created, it asks again for a few seconds until GitLab has worked out the diff. 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 merge request list refused (400, 404) · GitLab 429 "Retry later" (rate limits) · 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 "compare_timeout": true (diff limits) · GitLab merge request plugins for IntelliJ IDEA, compared · 日本語