Permission issue to the remote repository

Hi, I am getting error while executing POST command Asper the error message, it is related to permission to the repository. The steps which I am following are: My Post command is

curl --request POST
–url http://34.76.59.238/api/projects/default/git_repositories?api_token=
–header ‘content-type: application/json’
–data-binary @repository.json

The response message is:

{“version”:“0.23.3”,“status”:“failure”,“message”:“Insufficient permissions for remote repository.”,“reason”:“RepositoryCreationFailed”,“details”:{“args”:[“Given repository credentials don’t provide write permissions to the repository. Please make sure the ssh key is correct and the administrator of the remote repository gave you the required permissions.”]},“help”:null,“code”:422}

Please help me to solve this permission issue

Thanks in advance.

Sohail

1 Like