OneDrive file picker doesn't load properly when photostreams 403 returned

Copper Contributor

My team has been facing an issue where some users are receiving this message in their OneDrive file picker instead of the usual file picker interface:

 

"This OneDrive view is not supported within the current session. Please reload this page in your browser in order to continue."

 

Reloading the page does nothing, and the user is faced with the same error message seen above.

Looking at the console log for this dialog, I see that this is occurring:

 

17:25:34.542 XHR GET https://api.onedrive.com/v2.1/drives/(insert drive ID here)/photostreams?$top=10
[HTTP/1.1 403 Forbidden 335ms]

 

Is there anything I can do as a developer to open the OneDrive file picker in such a way as to avoid the error message and show the usual file picker interface?

0 Replies