Xcode 13.3 and Xcode 13.3.1 are both having this issue. Xcode 13.2.1works fine.
The error happens when trying to fetch an internal Swift package.
I found this link: https://developer.apple.com/forums/thread/702460?login=true&page=1#710172022.
However, our TFS already disabled Windows Authentication.
Can someone help to resolve this?