"error loading the extension!" when creating new TOC table of contents
Asked by DavidB:

I am trying to create my first table of contents but get the message "error loading the extension!".

![image.png](/t5/image/serverpage/image-id/93969i95E660824AF074DA/image-size/large?v=v2&px=999 "image.png")When I click to edit the macro, it shows a correct preview (which I have blurred here):

![image.png](/t5/image/serverpage/image-id/93967iEE2D8CA73EA4D793/image-size/large?v=v2&px=999 "image.png")

**Postscript** When I published the page, the TOC showed normally.

Any ideas please?


Answers:
author: Michael Silva
body: It is also happening to me! :/

comments: author: michael hills
body: dido!


author: Clif Bromley
body: Same here.

In addition, the TOC is not displayed in the page preview mode. However, it *is* properly rendered once the page is published.

**Edit mode:**

![Edit_-_Confluence.png](https://community.atlassian.com/t5/image/serverpage/image-id/94070i6D14A88436AFDF4A/image-size/large?v=v2&px=999 "Edit_-_Confluence.png")

**Preview mode:**

![Preview_-_Confluence.png](https://community.atlassian.com/t5/image/serverpage/image-id/94071iB2A89FB8126B3763/image-size/large?v=v2&px=999 "Preview_-_Confluence.png")

**After publishing:**

![Published_-_Confluence.png](https://community.atlassian.com/t5/image/serverpage/image-id/94072i8E45BDA5DD5BEEBB/image-size/large?v=v2&px=999 "Published_-_Confluence.png")


author: Andrew Saxsma
body: Me too.


author: Chandra Danam
body: Me too


author: Ben Sullivan
body: also happening to me


author: bluebear119
body: same happen to me \~ any one know how to solve this ?


author: Andrew Saxsma
body: I created a support ticket.  

<https://getsupport.atlassian.com/servicedesk/customer/portal/23/JST-573645>


author: Andrew Saxsma
body: Support person is looking into it.

comments: author: Andrew Saxsma
body: No new news yet. Will keep everybody updated.


author: Andrew Saxsma
body: Hi All, heard back from support. This issue is linked to a known issue that is being worked. No ETA, but here is the issue tracking the problem:

<br />

[https://jira.atlassian.com/browse/CONFCLOUD-69948?error=login_required\&error_description=Login+required\&state=6e31d5bf-a4a9-4810-9177-b108bb9a8872](https://jira.atlassian.com/browse/CONFCLOUD-69948?error=login_required&error_description=Login+required&state=6e31d5bf-a4a9-4810-9177-b108bb9a8872)


author: Mary Skalicky
body: This was happening to me, too. I was able to get a working toc by adding a "Table of Content Zone" to my document and then moving all of my content into that zone.

![Screen Shot 2020-05-09 at 8.26.12 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/94138iFBED11E6969BD550/image-dimensions/583x362?v=v2 "Screen Shot 2020-05-09 at 8.26.12 AM.png")

comments: author: DavidB
body: It worked for me without adding the "Table of Content Zone".

My issue is just that when I insert the Table of Contents, Confluence displays the message "error loading the extension!". As the TOC works properly after I publish the page, the issue is just the spurious and misleading error message. In the scheme of things, not a major issue, but confusing.


author: Caitlyn Wales
body: Sadly this issue is happening to me to and I *don't*see the ToC load when I publish the page...


author: Andrew Saxsma
body: ToC is at least publishing correctly. I've not heard anything from the Atlassian support ticket yet.


author: plademan
body: The Toc macro displays "error loading the extension!" and does not publish correctly.


author: katherine
body: I have the SAME EXACT ERROR MESSAGE when trying to create TOC. This used to be so easy! Please help.


author: Alison Bartos
body: Same issue!


author: Shlomo Ablov
body: same issue here :(


author: John Uittenbogaart
body: Same issue here too


author: Kelly Jobe
body: The Toc macro displays "error loading the extension!" and does not appear when the page is published.


author: wolf
body: Disabling the "Legacy Editor Blueprint" in the space settings resolved this issue for me.  

So essentially, we have to choose between a proper wiki editor, that encourages linking, or the ability to use page advanced macros. Thanks, Atlassian! SMH.


author: Riccardo Locci
body: Same here! But I only see the error message, publishing the page shows the table


author: Paddy Doran
body: me too!


Tags: cloud