Windows 8.1 Upgrade fails with error code 0x80070652
I read that one needs more than 30 GiB of available diskspace and incrementally freed up 5 GB to try again until it continued at around 45 GB of free diskspace.
I then received error code 0x80070002 in my case and was able to fix that. The upgrade went through without any further issues.