Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Getting error saying "nested branch in url" when updating confluence page


   I am trying to UPDATE an existing Confluence wiki page via REST and I am getting an error saying "nested branch in URL position 45".   Error appears to be located in the "storage" data in the "body" section of the JSON .  The JSON format appears correct, so I am not sure if my fields in JSO are incorrect or what the issue might be.

My command line looks like the following:

curl -u id:pw -X PUT -H 'Content-Type:application/json' -d '{"id":"39","type":"page", "title":"Test Page","space":{"key":"TS"},"body":{"storage":{"value":"<p>updated text</p>","representation":"storage"}},"version":{"number":2}}'

(The caret pointing to the error is positioned under the colon after "storage" in command in the json part of the command).

If any has any ideas that might help, it would be appreciated.

Thank you,


0 answers

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events