You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running bellow line to create a file in a gitlab repository: api.createRepositoryFile(project, "file.txt", "master", "commit message", Base64.getEncoder().encodeToString("content for test".getBytes()));.
And I am getting the bellow error: com.fasterxml.jackson.core.JsonParseException: Unexpected character (':' (code 58)): was expecting double-quote to start field name at [Source: {:file_path=>"file.txt", :branch=>"master"}; line: 1, column: 3].
Please let me know if you know a solution for this(I am using 4.1.0 version of the library).
The text was updated successfully, but these errors were encountered:
Hi,
I am running bellow line to create a file in a gitlab repository:
api.createRepositoryFile(project, "file.txt", "master", "commit message", Base64.getEncoder().encodeToString("content for test".getBytes()));
.And I am getting the bellow error:
com.fasterxml.jackson.core.JsonParseException: Unexpected character (':' (code 58)): was expecting double-quote to start field name at [Source: {:file_path=>"file.txt", :branch=>"master"}; line: 1, column: 3]
.Please let me know if you know a solution for this(I am using 4.1.0 version of the library).
The text was updated successfully, but these errors were encountered: