Hello,
Getting Internal Server Error while update the page in confluence.
This is because of this tag <ac:structured-macro ac:name=XX> in update body .storage.value input.
When i tried to update the confluence page through HTML file,its get updated successfully at first time.When i did on second time it is throwing error.
{"id":"12345","type":"page","title":"XXX","space":{"key":"XX"},"body":{"storage":{"value":"<p><br /></p><p> <ac:structured-macro ac:name=\<p>The content to append</p>","representation":"storage"}},"version":{"number":XX}}
The body.storage.value needs to be valid XML in order to save correctly.
Rather than
<ac:structured-macro ac:name=XX>...</ac:structured-macro>
wrap parameters in double quotes like so
<ac:structured-macro ac:name="XX">...</ac:structured-macro>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.