I'm trying to import an add-on made with Add-on builder but I get this error:
"The add-on project could not be imported because a problem occurred while loading the meta data."
When I try to do it using the CLI an error 35 is returned too. Also when I make a new test project,I export it and get the same error when importing it.
Thank you in advance
This error happened to me when I was importing an app package instead of importing an app export.
They are two different things.
If you want to export your app from the addon builder so it can be imported into another add on builder, then go here:
Select the "Created with Add-on Builder" tab, and click export there.
If you dont have the app under that tab, then you need to export from the AoB you originally created the app with.
If you want to package your app for upload to splunkbase you go to the same link and click on "Validate & Package", then click on "Download Package" when it becomes available.
KVStore is required to load your AoB metadata. Is your KVStore working well? Sometimes your SSL key might be expired and there would be some errors in your internal logs.
I've tried to search for KVStore in "Manage apps -> browse more apps" and I can't find it and I didn't find much information about it. Please, could you tell me more details about it?
Thank you for your help
You can try:
curl -k -s https://localhost:8089/services/server/info | grep kvstore
use this command on nix systems, which should return ready/starting/failed/disabled*
I tried it but there was an empty result. First the API returned a non-authorized type message, so I runned it like this:
curl -k -s https://admin:pass@localhost:8089/services/server/info | grep kvstore
I use Splunk 7.0.2 (build 03bbabbd5c0f)