Skip to main content

Uncaught in promise error

  • August 24, 2021
  • 1 reply
  • 295 views

I am developing a plugin using web api, where I read the miro board contents from javascript:

Sample code:

async function javascriptFunction() {

          let selectedWidgets = await miro.board.selection.get() 

}

This code works fine first time, but when the app is launched again, it gives error: 

Uncaught (in Promise) TypeError: cannot read property 'selection’ of undefined.  

Anyone else faced this issue? 

Was it helpful?

1 reply

Anthony Roux
Mironeer
Forum|alt.badge.img+1
  • Mironeer
  • 215 replies
  • September 1, 2021

Hi @Kamalesh Joshi,

 

I cannot reproduce the error on my side, would you have a project or an example that can help me to reproduce the error to investigate? 


Reply