tooltip on image not working?

i have this piece of code:
i have a repeater, in it i have an image failureImage
$item(‘#failureImage’).tooltip(issue.description);
i get this error:
Uncaught TypeError: $item(…).tooltip is not a function
the item is found and is evaluated to an image, tooltip can return a value but not set it.
any thoughts?

https://support.wix.com/en/article/adding-a-tooltip-to-an-image

https://www.wix.com/corvid/reference/$w.Image.html#tooltip

sorry, this was unhelpful to me.
the first is static text via the editor, not my use case.
the second says to do as i did (that’s why i did it) but instead of setting the tooltip i get “tooltip is not a function”.
so again, what am i doing wrong? any thoughts?
also the example talks about alt instead of tooltip, while the doc talks about tooltip, and either way both say “not a function” when used

my bad, i had some preprocessing on issue object change it in unexpected ways and it didn’t have the format i expected.