You should debug your lists setting and getting to see where the problem lies
the script is tested and works, but not within cardstylelistview
Create a csv file like this:
gas-icon.png,Google Apps Script,write javascript for your apps
sheets-128.png,Google Sheets,do Numbers and the rest
slides-128.png,Google Slides,do Presentations
...
then convert it to an AI2 list
I get the same error
The operation select list item cannot accept the arguments: , ["slides-128.png"], [1]
I see you are using Dynamic Components, not CompCreator as advised ? I have not really used that extension for @ 4 years.
Indeed, I am sorry.
It is not possible with dynamic components?
Probably, just that I haven't used it for ages, so difficult to advise on where you are going wrong.
Thank you, anyway
Much easier to iterate over the list with for each item in list
for each item in list
create a cardview
set image to item index1
set title to item index2
set detail to item index3