- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
05-29-2023 11:33 PM
Error Detail:
ContentPackInstaller - Error occurred while setting up machine. string indices must be integers
Any suggestion, what could be the reason. Tried to pass integer values also but no luck.
05-30-2023 03:26 AM
hi @IAwadiya ,
Can you please also provide what kind of inputs you provided? Also, did it use to work and stop working, or is it the first time you are testing?
Can you please try to run the first command in your playground to see if it is going to throw the same error? If it still gives an error can you also run the second one and provide the output?
!ContentPackInstaller packs_data="[{\"packid\":\"Base\",\"packversion\":\"latest\"}]" pack_id_key="packid" pack_version_key="packversion"
05-30-2023 05:32 AM
Hi @gyldz , This is first time we are setting up this playbook. Input is pack_id_key , pack_version_key and packs_data.
First Command give same error : Scripts returned an error ( Reason : ContentPackInstaller - Error occurred while setting up machine. string indices must be integers)
2nd Command :
response:<!doctype html><html lang="en"><head><title>Cortex XSOAR</title><meta charset="utf-8"><meta name="description" content="Cortex XSOAR"><meta name="keywords" content="security,incident response,attack playback,forensics"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1"><link rel="shortcut icon" href="/favicon.ico?v=1669890354308"><link href="/assets/light-bundle-1669890354308.css?v=1669890354308" rel="stylesheet"></head><body><div id="app"></div><script src="/assets/light-bundle-1669890354308.js?v=1669890354308"></script></body></html>
05-30-2023 07:10 AM
Thank you got your help , Yeah there was an issue with API integration (however test result was successful, we tried multiple time, even reinstalled )
Now its resolved after modifying core server URL in API integration.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!