This article explains a quick solution to a pretty common problem with Azure DevOps. Namely – random and annoying 404 (or sometimes 401) errors when trying to access your dear team projects.
I forgot to take screenshots of the errors and couldn’t figure out how to reproduce it, but hey, the fix is the main point, right? 😀 If you’ve ended up on this page, you’ve probably encountered the issue already, so why would you care about the screenshots anyway.
Ok, so this is a pretty easy one. Below, you’ve got 2 options: either a super-simple 1-step solution, or standard-simple 5-step solution.
Time needed: 5 minutes.
How to (usually) fix 404 or 401 errors in Azure DevOps?
- (Optional shortcut) Just forget about the rest of the steps and use a different browser
Yeah. That’ll do the trick.
It won’t fix your primary default browser, though – so if you want to have that back, follow the rest of the steps!
- Navigate to the Project home
You probably have that in your browser “bookmarks” or “recents” or something. You should just open up the page and get that sweet, sweet 404 error. Don’t fret, though – we’ll fix it (probably)!
- Select the “lock”-icon
This works very similarly in most Chromium-based browsers – but the icon should look somewhat like this:
- Select “Cookies”
Clickety-click it open, and you should get a nice dialog showing you the active cookies for the site.
- Clear all cookies for “dev.azure.com”
Select the dev.azure.com domain and hit “Remove”.
Don’t worry – you’ll get them back.
- Refresh the page
Hit F5 and you should be good!
Did it work? Let me know in the comments -section below!
- HttpContext.WebSockets.IsWebSocketRequest always null in .NET Core? - July 27, 2021
- Docker-compose fails on Windows with “Error while fetching server API version: (2, ‘CreateFile’, ‘The system cannot find the file specified.’)” - July 20, 2021
- Azure DevOps suddenly 404s for your project? Easy fix! - July 13, 2021