Open salahbm opened 7 months ago
I am facing the same error while I want to open oneDrive for pick a file. (OneDrive.open(odOptions);)
did you find any solution for this? i'm also getting the same error
I am encountering the same problem while attempting to call OneDrive.open(options)
function.
Any solution for this issue ?
I think I've found the root cause of this issue. The u.onMessage
event listener https://prnt.sc/xUZxD26SJlzI can be fired from another window pop-up. The e.data
is supposed to be a JSON string https://prnt.sc/Z0MndPAi7x3I but in my case, the u.onMessage
event listener is fired from the react-dev-tools and the e.data
becomes an object https://prnt.sc/rfQsntoYzT30. it causes the error. We can fix the issue by adding an extra string type check https://prnt.sc/R6EDK-bZXz2x.
Category
Expected or Desired Behavior
Sign In and Save to OneDrive
ERROR
Thank you.