I’m currently trying to create images on a Miro board using the SDK.
I have the images stored as base64 data URLs. But it seems the method isn’t accepting that format.
Here the code I’m using:
miro.board.widgets.create({
"type": "image",
"url": "data:image/png;base64,iVBORw0KGgoAA..."
})
The error message I get:
Error: 'url' field is required for ImageWidget
Does the method only accept regular url’s? I wasn’t able to find an answer in the docs.