I have admin token with all privileges but when I am trying to create files via api I am getting this message: You are not allowed to push into this branch
. I checked and this repository master branch is not protected, I wonder what could be the case?
Asked
Active
Viewed 82 times
0

Sławosz
- 11,187
- 15
- 73
- 106
-
Please provide the API call you are doing – rpadovani Apr 20 '18 at 11:32
1 Answers
0
I forgot to add Sudo
header, which is required when action is done on behalf of user.

Sławosz
- 11,187
- 15
- 73
- 106