That error code relates to a corruption in the store.
If these cmds don't do it then I would suggest a repair install.
Right click on the Start button and select Command Prompt (Admin) and enter -
dism /online /cleanup-image /startcomponentcleanup
dism /online /cleanup-image /restorehealth
sfc /scannow
exit
The last cmd will close the cmd window but let us know if the sfc /scannow reports it is unable to repair some files.
If that is the case, then I would suggest that you create Win 10 install media by hitting the Download tool now at
https://www.microsoft.com/en-gb/software-download/windows10 after reading how to create the media of your choice.
When done, open Windows Explorer - This PC - insert the media and double click on the drive.
If using a DVD then that will start the install but if using an USB, that will open the USB where you will then need to double click on the setup Application.
You can also right click on that and select Run as administrator.
It's advisable to disable any 3rd party antivirus program that has its own firewall before proceeding with the install.
A repair install doesn't affect personal stuff or any programs you may have installed.
The repair install will update you to the latest version when you allow it to search for updates during the process.