Broken the 'Edit Custom HTML Page'

So I managed to break the 'Custom HTML Page'.

Initially it wouldn't let me edit the text box's because the code I had saved had an error within it.

I then followed the link below that seemed to indicate it would reset the fields to the default values.

However by doing so I got an error;

"Your request could not be processed because a required security token was not present in the request. You may need to re-submit the form or reload the page."

And now I'm left with some default text, and I am unable to edit the text box's still!


Any ideas?

Has anyone else experienced and got a fix?

Edit: It seemed to fix this issue it self, could have been a caching issue. Will leave open as I no doubt will face the same issue later on today...

3 answers

This widget could not be displayed.
Brian Tom Atlassian Team Nov 24, 2014

Hey there Bristow, 

What happens when you click "Save" or "Cancel"? Does that take you out of the screen? If so, you should be able to edit the Custom HTML after that.

If not, you may want to try clearing the Confluence caches (at Confluence Admin > Cache Statistic > Flush all) OR restarting Confluence, which will clear the caches. Then navigate back to the Custom HTML page to see if you can edit the text boxes again.

I hope this helps!



If I 'Save' or 'Cancel', and go back to that screen they are still greyed out and disabled. Will clearing the Cache have any other affects on the system?

Brian Tom Atlassian Team Nov 25, 2014

Clearing the cache will force Confluence to fetch fresh data from the database, so you may notice some pages may not load as fast as before. But that will change once the caches start to populate.

Had the same problem, and flushing the Caches worked like a charm.

This widget could not be displayed.

Hi Bristow,

I once had a similar problem smile (Remove erroneous custom HTML) and ended up in removing the faulty code directly from the database using SQL.


Will check this out, hoping clearing the cache will solve the issue as I don't particularly want to start digging around in SQL!

This widget could not be displayed.

HI @Brian Tom, 

Thanks for the advice to clear the cache - that fixed the issue for me (though it did clear all my code).




Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Jul 30, 2018 in Confluence

How Manon Soubies-Camy uses Confluence + Trello to organize webinar notes and her knitting stash

@Manon Soubies-Camy is an engineer who has been an avid Atlassian user since 2014. She helps companies of all sizes transform the way they work with the Atlassian stack, including Jira and Confl...

866 views 8 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you