Widget is created correctly when there is no metadata, but creation fails as soon as metadata is part of the widget definition. I have interpreted the metadata definition from this post:
and from the documentation here:
The result looks like this:
let shapeWidgets2 = await miro.board.widgets.create([
y: y3 + 150,
I have tried several combination with and without aphostrophes, but none of them works.
Can anyone out there give me a hint on what is wrong with the code?