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

4 votes

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.

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.

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.



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 Feb 06, 2019 in Confluence

Try out the new editing experience

Hi team, I’m Avinoam, a product manager on Confluence Cloud, and today I’m really excited to let the Community know that all customers can now try out the new editing experience and see some of the ...

896 views 45 7
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