Content Update Manger Playbook giving error in Task : Install updates for chosen packs

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Content Update Manger Playbook giving error in Task : Install updates for chosen packs

L1 Bithead

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. 

 

 

4 REPLIES 4

L4 Transporter

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"

!demisto-api-get uri='/contentpacks/metadata/installed'
 

L1 Bithead

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>

L4 Transporter

It seems that your API integration does not work properly. Could you please share the screenshot of API integration?

L1 Bithead

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. 

  • 1148 Views
  • 4 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!