You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

iCloud Drive Access Not Working - Browser or iCloud for Windows

Hi,


I've seen a few of these posts but no resolution, and no comments lately, so asking for myself.


This was working fine until 2 days ago when I noticed I had a queue of files waiting to sync on iCloud for Windows. I tried logging into icloud.com (which works fine) until I click Drive and I then get an error. Tried multiple PC's, browsers, and modes and get the same error each time.


Error is:

Drive has stopped responding

An error has prevented this application from working properly.


When I click details I get the following list (personal ID's redacted)


APP NAME

iclouddrive


HOSTING APP NAME

cloudos2


CLIENT TIME

Mon May 22 2023 17:55:55 GMT+0100 (British Summer Time) (1684774555958)


USER AGENT

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36


HOSTNAME

www.icloud.com


BUILD INFO

2315Project43__2315B21__en-us


SESSION ID

09c47c7a-4ba2-4329-a0d2-9d28b38d2d75


ENVIRONMENT INFO

PROD


REPORTED ERROR TITLE

Error: CW.Data.Store.getStoreIdForPrimaryKey: No primary key provided.


REPORTED ERROR TYPE

UNHANDLED_REJECTION


LINE NUMBER

11


USER APPLE ID

xxxxxx


USER DSID

xxxxxxx


STACK

Error: CW.Data.Store.getStoreIdForPrimaryKey: No primary key provided.

at new i (https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:246500)

at Object.getStoreIdForPrimaryKey (https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:895579)

at n.loadData (https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:5784269)

at df (https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:1420062)

at https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:5722910

at Array.forEach (<anonymous>)

at https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:5722787

at ns (https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:388007)

at pl (https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:407144)

at t.unstable_runWithPriority (https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:425458)

at ki (https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:349602)

at hl (https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:406901)

at Qs (https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:398419)

at https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:349893

at t.unstable_runWithPriority (https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:425458)

at ki (https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:349602)

at ji (https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:349838)

at Fi (https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:349773)

at qs (https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:395282)

at ho (https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:367004)

at https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:5720966

at c (https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:151598)

at Generator._invoke (https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:151351)

at Generator.next (https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:151961)

at oj (https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:5688976)

at o (https://www.icloud.com/applications/iclouddrive/2315Project43/en-us/main.js:11:5689180)


ERROR CONTEXT

undefined


I have it logged, but has anyone got a direct fix for this?


Based on my troubleshooting so far, it appears to be Windows authentication issue, as when I try from Safari, Chrome or Edge on my iPad or iPhone it works (but that uses inbuilt iOS auth even via a browser).


Tried turning Access iCloud on the Web off on my account and back on again, didn't work, and Advanced Data Protection is turned off.


Any ideas?


Thanks

Posted on May 23, 2023 1:17 AM

Reply
Question marked as Top-ranking reply

Posted on Aug 16, 2023 4:33 PM

I had the same issue! After months working with Apple Support, I stumbled upon the solution:


If yours was like mine, you notice that iCloud Drive page would load for a second and you would see some favorites in the left sidebar with a spinner below. Then after a second the error dialog would come up saying "Drive has stopped responding. An error has prevented this application from working properly. Help Apple improve its products by sending us diagnostic and usage information about Drive." with a details disclosure (which is where you got those logs which are similar to mine):


What I realized is that that spinner below the list of Favorites was the key. I went to my iOS device and unfavorited folders until I had less than 10 favorites. Once I did that, the error dialog no longer appears when going to iCloud Drive in a browser window.


The reason is that there must be a bug in iCloud.com/iclouddrive that has issues when loading more than 10 Favorites which is why it appears on all browsers (since it's a site issue not a browser or account issue) and why it doesn't appear in any browser on a tablet (since the tablet view doesn't show the sidebar where Favorites are).


I was able to reproduce the issue in multiple accounts. As soon as the 11th favorite is added, the error appears on the website. When the number of favorites goes back down to 10, the error goes away.


I almost lost all my data due to engineering wanting to reset my account to solve this issue, but thankfully I figured out the Favorites link and hopefully this will help others workaround this issue until Apple issues a code fix.

Similar questions

11 replies
Question marked as Top-ranking reply

Aug 16, 2023 4:33 PM in response to SynnX

I had the same issue! After months working with Apple Support, I stumbled upon the solution:


If yours was like mine, you notice that iCloud Drive page would load for a second and you would see some favorites in the left sidebar with a spinner below. Then after a second the error dialog would come up saying "Drive has stopped responding. An error has prevented this application from working properly. Help Apple improve its products by sending us diagnostic and usage information about Drive." with a details disclosure (which is where you got those logs which are similar to mine):


What I realized is that that spinner below the list of Favorites was the key. I went to my iOS device and unfavorited folders until I had less than 10 favorites. Once I did that, the error dialog no longer appears when going to iCloud Drive in a browser window.


The reason is that there must be a bug in iCloud.com/iclouddrive that has issues when loading more than 10 Favorites which is why it appears on all browsers (since it's a site issue not a browser or account issue) and why it doesn't appear in any browser on a tablet (since the tablet view doesn't show the sidebar where Favorites are).


I was able to reproduce the issue in multiple accounts. As soon as the 11th favorite is added, the error appears on the website. When the number of favorites goes back down to 10, the error goes away.


I almost lost all my data due to engineering wanting to reset my account to solve this issue, but thankfully I figured out the Favorites link and hopefully this will help others workaround this issue until Apple issues a code fix.

May 26, 2023 2:14 PM in response to SynnX

@SynnX

Hey there, I have the same issue (All iCloud.com applications crash when us… - Apple Community)


Do you have end2end encryption (advanced data protection) enabled too? Because that caused the issue in my case. Disabling advanced data protection fixes the web apps, but is obviously a bad idea if you value privacy.


It's a joke that this bug is in production for a whole week already and no fix in sight.


May 24, 2023 1:57 PM in response to ShannonM1

Hi. As I said, this is an issue across devices, browsers etc but only affecting my account. Other accounts on the same devices work fine. I’ve narrowed it down to a specific authentication issue from Windows devices, as the account works fine in Files and iPadOS / iOS web browsers.


it’s logged with support and collecting logs as we speak.

May 26, 2023 2:19 PM in response to ptrace

I double checked as I wondered if an encryption change had broken the primary key but it’s not enabled on my account. Never enabled it or disabled it.


Apple support have collected logs from iCloud app and browser to investigate. I’m my case it’s definitely account and OS specific as I have no issues with Files app or using browser on iPhone or iPad but my iCloud for windows or Drive access on Win 10/11 using Edge or Chrome fails.


what’s odd is that I can get into any other workload on iCloud - photos, notes, contacts etc AND I can get into a file from the last 3 files shortcut on the iCloud main screen from the Drive tile just not into Drive itself

Mar 27, 2024 10:54 AM in response to JoMo25

yes, same problem for me, too, and it was quite annoying...to say the least.


Deleting the 'Favorites' on my IOS device (same Apple ID login, of course) provide interesting. I wondered why 'Downloads' was on my Favorites grouping in the Files App on my iPad TWICE. Sometimes files would download to one folder, sometimes the other.


Anyhow, to fix this iCloud crash, I removed both Downloads folders from the Favorites category, and then refreshed the Safari browser on my Mac and it worked - iCloud files app opened properly.


Interestingly, a few minutes later a Downloads folder popped up by itself in the Favorites folder on my iPad, the disappeared again after maybe 5mins. Strange.

iCloud Drive Access Not Working - Browser or iCloud for Windows

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.