All Apps and Add-ons

Internal configuration file error. Something wrong within the package or installation step. Contact your administrator f

KeaganJ
Path Finder

I am following the example in this github example:
https://github.com/splunk/Developer_Guidance_Setup_View_Example
In order to get the setup page of my Tech add on working correctly. The add-on previously used a setup.xml in the default folder which would take in a URL and API key.

I have changed the add on to now use html, JS and CSS like the example suggests in the github link above.

Once I have hit the `Submit` button i get presented with the above error whenever trying to navigate to the /inputs endpoint of my TA then the following error message comes up:

 

 Internal configuration file error. Something wrong within the package or installation step. Contact your administrator for support. Detail: instance.pages.configuration.tabs[0].entity[1].type is not one of enum values: text,singleSelect,checkbox,multipleSelect,radio

 

 Watching the logs on both the splunk side and the server side where the API call is being made. I see that the correct URL/domain and API key are being used because the request is going through correctly.

Also looking in the corresponding config file like so:

 

cat etc/apps/TA-canary/local/ta_canary_settings.conf
[additional_parameters]
api_key = ********
canary_domain = <server_domain>
disabled = 0

 

Which is all correct. Following the logs doesn't give any helpful output as to which field is incorrectly in the config files as not one of the following field types like the error says:

 

text,singleSelect,checkbox,multipleSelect,radio

 

 

 

Labels (1)
0 Karma
1 Solution

KeaganJ
Path Finder

Solved the issue myself.

The "type" for the `api_key` in TA-app/appserver/static/js/build/globalConfig.json was set to `password`

Changing that to `text` stopped this error from coming up.

View solution in original post

0 Karma

KeaganJ
Path Finder

Solved the issue myself.

The "type" for the `api_key` in TA-app/appserver/static/js/build/globalConfig.json was set to `password`

Changing that to `text` stopped this error from coming up.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...