Skip to content

updateFile not working #239

Closed
Closed
@heximcz

Description

@heximcz

HI,

I have a problem with migrate from v3 to v4.
updateFile get error:

[Gitlab\Exception\RuntimeException]  
  404 Not Found

Same error for createFile method.

Code:

$project = new Project($this->getProjectID(), $this->client);
$project->updateFile($filePath, $content, $branch, $message);

Create new project, getFile working fine.

I use:

GitLab 9.5.1
GitLab Shell 5.8.0
GitLab Workhorse v3.0.0
GitLab API v4
Git 2.13.5
Ruby 2.3.3p222
Rails 4.2.8
postgresql 9.6.3 

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions