All Apps and Add-ons

REST ERROR 404 splunktaucclib/rest_handler/handler.py add-on-builder app

pmeyerson
Path Finder

I am writing an app with the add-on-builder and started getting error below.

It seems related to https://answers.splunk.com/answers/636852/why-is-the-gui-not-loading-and-throwing-this-error.html?ut... ?

Anyway to regenerate or fix the spec files mentioned in the linked post? I think the last changes I made were changing from a lookup csv to a kvstore.

TIA

04-22-2018 16:26:30.833 -0400 ERROR AdminManagerExternal - Stack trace from python handler:\nTraceback (most recent call last):\n

File "/opt/splunk/lib/python2.7/site-packages/splunk/admin.py", line 130, in init\n
hand.execute(info)\n File "/opt/splunk/lib/python2.7/site-packages/splunk/admin.py", line 594, in execute\n
if self.requestedAction == ACTION_LIST: self.handleList(confInfo)\n
File "/opt/splunk/etc/apps/TA-amp-inventory/bin/ta_amp_inventory/splunk_aoblib/rest_migration.py", line 38, in handleList\n
AdminExternalHandler.handleList(self, confInfo)\n
File "/opt/splunk/etc/apps/TA-amp-inventory/bin/ta_amp_inventory/splunktaucclib/rest_handler/admin_external.py", line 40, in wrapper\n
for entity in result:\n
File "/opt/splunk/etc/apps/TA-amp-inventory/bin/ta_amp_inventory/splunktaucclib/rest_handler/handler.py", line 118, in wrapper\n
raise RestError(exc.status, exc.message)\nRestError: REST Error [404]: Not Found -- HTTP 404 Not Found -- {"messages":[{"type":"ERROR","text":"Not Found"}]}\n

0 Karma
1 Solution

chli_splunk
Splunk Employee
Splunk Employee

You can try to edit your data input in AoB and save again. Just add a parameter in UI, save it, and remove this parameter. I tried it works.

View solution in original post

0 Karma

pmeyerson
Path Finder

If above doesn't work, I exported by add-on from the builder then created a new add-on builder project and copied all my files back in.

0 Karma

chli_splunk
Splunk Employee
Splunk Employee

You can try to edit your data input in AoB and save again. Just add a parameter in UI, save it, and remove this parameter. I tried it works.

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...