Support sending content in request body for updating the repository contents via PUT request

We are getting the Error '414 Request-URI Too Large' while updating the file(size >7KB) into gitlab repository using API we are using following API provided in the API document.

PUT /projects/:id/repository/files/:file_path

https://docs.gitlab.com/ee/api/repository_files.html#update-existing-file-in-repository

This is very critical issue for us now. please help us to fix the issue.

Thanks, Alleiah.

Edited Jun 23, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading