I tried to get top navigation from a sharepoint site by using JSOM or CSOM but it returns more than 5 navigation nodes as the following:
Page not found
Test Test2 Test3
I have no idea why it returns more than 5 nodes. Can someone help me?