Keep getting an "HTTP/1.1 401 unauthorized" error whenever I try to publish my WebGL project

I just wanna finish the challenge so I can move on with my course.

I can’t find anything about this error, and it’s infuriating.

The WebGL publishing module is installed and up-to-date, and it worked for the previous challenge I did, but now it just won’t work at all.

Does anybody know what’s wrong or how to fix it? I can’t progress in my course until I finish this and another challenge, which puts a blockade in front of everything I’ve been trying to do.

I logged out of Unity and logged in . This I did after deleting the build files and restarting Unity. Afterwards I was able to publish my webGL project. Just try and c if it work for u

1 Like

Thank you so much. Thank God it worked.

Just Click Finish on the Publish to Unity Play dialog and click on the ‘Publish to Play’ button in the ‘Build Profiles’ dialog. Worked for me.