Dashboards & Visualizations

why occured this error?

cucuro11
Explorer

I cannot access my manage dashboard.
In Splunk Enterprise 8.0.2.1 And Search Header Cluster.
If you have seen 500 Internal Server Error like below, help me please.

==============error log=============
2020-03-27 18:49:54,279 ERROR   [5e7dcc420a7fb6f4323890] error:335 - Traceback (most recent call last):
  File "/SPLUNK/splunk_sh01/lib/python3.7/site-packages/cherrypy/_cprequest.py", line 628, in respond
    self._do_respond(path_info)
  File "/SPLUNK/splunk_sh01/lib/python3.7/site-packages/cherrypy/_cprequest.py", line 687, in _do_respond
    response.body = self.handler()
  File "/SPLUNK/splunk_sh01/lib/python3.7/site-packages/cherrypy/lib/encoding.py", line 219, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/SPLUNK/splunk_sh01/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/htmlinjectiontoolfactory.py", line 75, in wrapper
    resp = handler(*args, **kwargs)
  File "/SPLUNK/splunk_sh01/lib/python3.7/site-packages/cherrypy/_cpdispatch.py", line 54, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/SPLUNK/splunk_sh01/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/routes.py", line 383, in default
    return route.target(self, **kw)
  File "</SPLUNK/splunk_sh01/lib/python3.7/site-packages/decorator.py:decorator-gen-632>", line 2, in advancedsearch
  File "/SPLUNK/splunk_sh01/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 40, in rundecs
    return fn(*a, **kw)
  File "</SPLUNK/splunk_sh01/lib/python3.7/site-packages/decorator.py:decorator-gen-630>", line 2, in advancedsearch
  File "/SPLUNK/splunk_sh01/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 118, in check
    return fn(self, *a, **kw)
  File "</SPLUNK/splunk_sh01/lib/python3.7/site-packages/decorator.py:decorator-gen-629>", line 2, in advancedsearch
  File "/SPLUNK/splunk_sh01/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 166, in validate_ip
    return fn(self, *a, **kw)
  File "</SPLUNK/splunk_sh01/lib/python3.7/site-packages/decorator.py:decorator-gen-628>", line 2, in advancedsearch
  File "/SPLUNK/splunk_sh01/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 245, in preform_sso_check
    return fn(self, *a, **kw)
  File "</SPLUNK/splunk_sh01/lib/python3.7/site-packages/decorator.py:decorator-gen-627>", line 2, in advancedsearch
  File "/SPLUNK/splunk_sh01/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 284, in check_login
    return fn(self, *a, **kw)
  File "</SPLUNK/splunk_sh01/lib/python3.7/site-packages/decorator.py:decorator-gen-626>", line 2, in advancedsearch
  File "/SPLUNK/splunk_sh01/lib/python3.7/site-packages/splunk/appserver/mrsparkle/lib/decorators.py", line 304, in handle_exceptions
    return fn(self, *a, **kw)
  File "/SPLUNK/splunk_sh01/lib/python3.7/site-packages/splunk/appserver/mrsparkle/controllers/admin.py", line 2995, in advancedsearch
    'breadcrumbs': self.generateBreadcrumbs(namespace, 'advancedsearch'),
  File "/SPLUNK/splunk_sh01/lib/python3.7/site-packages/splunk/appserver/mrsparkle/controllers/admin.py", line 1381, in render_admin_template
    args =  root.app.buildViewTemplate(namespace, ADMIN_VIEW_NAME, render_invisible=True, build_nav=False, include_app_css_assets=False)
  File "/SPLUNK/splunk_sh01/lib/python3.7/site-packages/splunk/appserver/mrsparkle/controllers/view.py", line 806, in buildViewTemplate
    viewList.sort(key=lambda x: x['label'])
TypeError: '<' not supported between instances of 'NoneType' and 'str'
0 Karma

manjunathmeti
Champion

There is some issue with your dashboard xml code. Check if dashboard label is there or not. If not add label to dashboard and check. Also check labels for all other dashboards exist in the app.

 <dashboard>
   <label>label</label>
 <dashboard>

cucuro11
Explorer

Thank you for your help.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

SOK it to Me: Top 3 Benefits of Using Splunk Operator on Kubernetes that’ll Make ...

    Thursday, July 9, 2026  |  11:00AM–12:00PM PDT Duration: 1 hour (includes Q&A) Managing can feel like a ...

Upgrade Prep for 10.4, Network Observability Deep Dives, and More from Splunk Lantern

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Splunk Developer Day announcements: AI agents, MCP tools, Forecasting, and Custom ...

Splunk Developer Day was packed with product and platform updates for developers building in the AI ...