The first thing you can do to fix this error is to reset the Store cache. This error could very well be facilitated due to a corrupted or accumulated Store cache ...
If you have been experiencing consistent issues with your Xbox App on PC, then I understand your frustration. I could not get my Xbox App to load for about a year. It would just consistently get stuck ...