Thank you for posting your question on Microsoft community.
I would like to know some information about the issue so that we could help you better.
Is the issue specific to installing one app?
I appreciate you for providing details about the issue.
This issue may occur either due to corrupt Windows store files or if your computer is using any proxy connection.
I would suggest you to try following methods and check if it helps.
Reset Windows store and check. Please follow these steps:
a. Press Windows + R keys to open run window.
b. In run window, type the following command and click ok.
If it does not help, use method 2.
Disable proxy and then check the issue. Please follow these steps:
a. Press Windows + R keys, type inetcpl.cpl
in run window and click ok.
b. Click "Connections" tab and then click "LAN settings".
c. Click to uncheck "Use a proxy server for your LAN" box.
d. Click ok, apply and ok.
I hope this information helps.
Please do let us know if you need any further assistance.
Did this solve your problem?
Sorry this didn't help.