Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to add a file to bitbucket repo using REST API

Sumeet Rawal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 28, 2023 edited

Getting the following error response when adding a file to a bitbucket repo:

 

PUT 
https://{{HOST}}/rest/api/1.0/projects/{{PROJECT}}/repos/{{}REPO}/browse{{PATH}}/file.json


{
"errors": [
      {
"context": null,
"message": "Support for editing files has been disabled.",
"exceptionName": "com.atlassian.stash.internal.rest.content.ContentResource.FileEditorDisabledExceptio"
      }
   ]
}


Can anyone help me troubleshoot?

Is it because online editor is disabled?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events