If you see error 0x803F8001 when entering a game with Xbox Game Pass, the game is currently inaccessible.
The solution is:
If, the error persists after signing in through the Microsoft Store, the game may no longer be available for Xbox Game Pass.
Unfortunately there is no solution for this.