We have a custom dashboard and whenever we load it I'm getting this error " A custom Javascript error caused an issue loading your dashboard, like due to the dashboard version update. See the developer console for more details" We are running Splunk 8.2.5. Has something changed? this was working previously? any idea how I can resolve this ?
Came here because we're seeing the same issue in the Lookup Editor app after upgrading to 9.1.1. Users have no way to access their lookups as of now and we really don't want to roll anything back if we don't have to..
@splunk we would really appreciate an answer here..
I solved the problem by updating the lookup editor app to last version (4.0.2) and editing the view as explained by tomapatan
Hi @MattHatter
Did you find a solution to this ?
We had exactly the same problem and we managed to get is resolved by editing the lookup_edit file (under Settings - User Interface - Views) as follows:
<view template="lookup_editor:/templates/generic.html" type="html" isDashboard="true" isVisible="true">
<label> Lookup edit </label>
</view>
Thanks for answering. What do you mean by " editing the lookup_edit file "? I am in "Settings - User Interface - Views" but don't see any way to edit any file or where to alter the text you refer to. Where is this file I should edit?
Make sure you are in the lookup editor app context.
If you`re using Splunk Cloud:
https://<domain_name>.splunkcloud.com/en-GB/manager/lookup_editor/data/ui/views
Thanks. I am on Splunk Enterprise on a local server. Do you know where the file you reference is and its name?
Hi,
The filename is called "lookup_edit" and you can navigate to it using the UI: Settings - User Interface - Views.
hi,
Apart from adding "version=1.1" in source code, Can someone help summarize what has to be done for fixing below error-
Facing the same issue in splunk security essentials
I'm also getting the same error, do you have any solutions yet?
it got fixed for me after using the right version app, updating my custom javascript also use version="1.1" in the first line
<dashboard version="1.1" >
OR
<form version="1.1">
to remove version change notice
Hi @AnilPujar, could you please tell what changes you did in JS?
Hello,
We are also having issues , when trying to update the application "Splunk Dashboard Examples" from version 8.1.0 to 8.2.5. On the Overview page it gives the error: "A custom JavaScript error caused an issue loading your dashboard. See the developer console for more details."
Curently running Splunk 8.2.6.1
Anyone any ideea? Could this influence the day to day business in the future if upgrading the app?
Thank you!
common.js:1798 SyntaxError: Unexpected token , in JSON at position 49
at JSON.parse (<anonymous>)
at _decodeOptions (dashboard_1.1.js:277)
at dashboard_1.1.js:277
at Function._.each._.forEach (common.js:1798)
at Function.ready._enableComponentDivs (dashboard_1.1.js:277)
at dashboard_1.1.js:277
at Object.execCb (eval at module.exports (common.js:1), <anonymous>:1658:33)
at Module.check (eval at module.exports (common.js:1), <anonymous>:869:55)
at Module.eval (eval at module.exports (common.js:1), <anonymous>:1121:34)
at eval (eval at module.exports (common.js:1), <anonymous>:132:23)
I get the error in palo alto application and now in security essentials.
Im getting the same error now in my SSE app. did you ever figure out how to solve it?
This the error in the dev tools F12
<form version="1.1"> maybe the script needs to be in the form line ?
Same error in Palo Alto Application, V. 7.1.0.
@marcoscala were you able to fix the Palo Alto Splunk app throwing JS errors ?
Getting the same error in SSE, rendering the app unusable for managing security content