{"message":"404 Project Not Found"} on a PUT request for updating repository file

Hi,

I have a probem using gitlab api, a PUT request on a repository file to modify its content always ends up as a 404 : {"message":"404 Project Not Found"}.

I checked and rechecked and everything in my request is in accordance with https://docs.gitlab.com/ee/api/repository_files.html (Update existing file in repository) : I have a private_token, the path to the file is encoded and I have all the required parameters.

Thank you in advance for helping me.