Is one of your article's headings missing in the table of contents? It may be because you've got a smaller heading above your largest one, like this:
Medium Heading
Large Heading
We won't show the first heading in the table of contents because smaller headings nest under the larger heading above them, and this one has nothing above it to sit under. The same goes for any other smaller headings above the first of your largest headings. To fix it, start your article with your largest heading size.
To read more about HTML headings head (pun intended) over to this Mozilla Developer guide.