REST POST Request: "A file with this name already exists"

I’m using REST POST to push files from snaplogic to gitlab.

It was working okay for a couple of months until last week.

Now when push files that already exists in gitlab (that have updates in snaplogic), I get this error:
“REST API service endpoint returned error result: status code = 400, reason phrase = Bad Request”
“A file with this name already exists”

When I push new files, it says
“REST API service endpoint returned error result: status code = 400, reason phrase = Bad Request”
“A file with this name doesn’t exist”

Please let me know any additional info can provide to help readers understand the issue better