Getting 400 error while updating confluence page

Hi @Dastagiri ,

This looks related to this post. Based on the error you’re getting, I recommend checking the value of content as it could be malformed.

Based on this code, since you are using two ==, you’ll have a preceding = for content something like this

=<table><tr><th>Name</th><th>Bounce</th><th>Department</th></tr><tr><td>one</td><td>two</td><td>three</td></tr><tr><td>foo</td><td>bar</td><td>baz</td></tr></table>

The preceding = might explain your error

Error parsing xhtml: Unexpected character ‘’’=’’’ (code 61)

Cheers,
Ian

1 Like