Open salahbm opened 11 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.
Did you clear this bug ? Uncaught TypeError: e.data.indexOf is not a function at OneDrive.js:4:19110 this error encounter when i integrate onedrive in my react project , but it perfectly works in the template Code provided by Azrue...
Now , It is working fine, I'm not getting this - Uncaught TypeError: e.data.indexOf is not a function error anymore.
Now , It is working fine, I'm not getting this - Uncaught TypeError: e.data.indexOf is not a function error anymore.
what did you , install new version of it or anyother approch ?
v7.2 , I have used, it's working perfectly
Did you integrate one drive in React ?
On Wed, 25 Sept 2024 at 14:11, AvulaPooja @.***> wrote:
v7.2 , I have used, it's working perfectly
— Reply to this email directly, view it on GitHub https://github.com/OneDrive/onedrive-api-docs/issues/1763#issuecomment-2373509762, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5OGABXXE72VHHOIKWNP523ZYJ42JAVCNFSM6AAAAABOZGWKZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZTGUYDSNZWGI . You are receiving this because you commented.Message ID: @.***>
In Angular
I install 2 dependencies , msla-browser 3.24 and msal-react 2.1 Which version are you taking about?
On Wed, Sep 25, 2024, 2:21 PM AvulaPooja @.***> wrote:
In Angular
— Reply to this email directly, view it on GitHub https://github.com/OneDrive/onedrive-api-docs/issues/1763#issuecomment-2373533093, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5OGABRURM7KEHBAC453MWDZYJ575AVCNFSM6AAAAABOZGWKZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZTGUZTGMBZGM . You are receiving this because you commented.Message ID: @.***>
"@azure/msal-angular": "^3.0.23",
"@azure/msal-browser": "^3.22.0",
Did you wrap you component in AuthenticatedTemplate ? Or can you give me your script for testing ? really appericicate for that
Actually,I'm bit busy with different things , can u ping me tmrw for that
Okay Sure !
did u find the solution, to your issue
Yes , I mail the issue to Microsoft support. They said they will open the community to check the issue . And I found I one thing the script successfully run in edge but get issue in chrome
On Fri, Sep 27, 2024, 11:03 AM AvulaPooja @.***> wrote:
did u find the solution, to your issue
— Reply to this email directly, view it on GitHub https://github.com/OneDrive/onedrive-api-docs/issues/1763#issuecomment-2378463887, or unsubscribe https://github.com/notifications/unsubscribe-auth/A5OGABTVFOQBS75LXIWXCD3ZYTYKTAVCNFSM6AAAAABOZGWKZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZYGQ3DGOBYG4 . You are receiving this because you commented.Message ID: @.***>
Category
Expected or Desired Behavior
Sign In and Save to OneDrive
ERROR
Thank you.