Hello,
I have been trying for days to add a file from Node VIA REST API. I am 100% sure that I am sending it correct. I am now trying in Postman with the following info
This is bitbucket server btw:
/rest/api/latest/projects/EPS/repos/gm-email/browse/test.html
I am sending form-data
branch
message
content - file, I have also tried string
return:
Did you solve the problem? Because I am having the same problem
Are you by any chance using a repo HTTP access token to run the REST request?
We recently closed a bug related to this issue.
If you are using a repo HTTP access token, can you please try with a personal HTTP access token as a work around?
If this is the cause of the issue, I would recommend updating your server to a version that contains the bugfix.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If the above suggestion doesn't resolve the issue, can you please provide:
If we can't resolve the issue with the extra two bits of above data, the next step would be raising a support request.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.