How to fix "Error rendering macro 'toc' : null" error

Newbie here and I am trying to create my first Confluence OnDemand Template.

I am attempting to use the Table of Contents macro but get "Error rendering macro 'toc' : null".

I have Headings defined in the Template.

What else am I supposed to do?

4 answers

This widget could not be displayed.

I've found a bug report that corresponds with the problem you're seeing:

Please do head over and vote for it to increase it's exposure.

This widget could not be displayed.

It will work when someone creates a page from template. I went through this issue as well.

I actually recieved the error when I was attempting to create a templlate from scratch. You seem to be saying that you need to start with an existing template in order to create a template. Sort of a Chicken and Egg fix :-)

Thank you,

No, that's not what he is saying. He's saying that it will show an error when you preview while editing/creating a template, but that it will work fine when users create pages based on the template.

This widget could not be displayed.

Atlassian should test this issue and either answer the question or open a defect. I keep getting emails that I should resolve the issue. I think these emails should be sent to Atlassian support.


This widget could not be displayed.


I went to the defect report but do not understand the voting process


Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

337 views 2 5
Join discussion

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