Skip to content
Free tool

401 Unauthorized

The page needs a sign-in (or an API key) and none was given.

Why it happens

  • Basic auth on a staging site.
  • An API endpoint called without a token.

What to do

  • If the page should be public, remove the authentication. If it should be private, that's correct: monitor a public page instead, or a health endpoint.

In monitoring

Counts as down by default. If the page is meant to require a sign-in, add 401 to the monitor's accepted status codes.

Catch the next 401 before a customer does.

heyUptime checks your site every 30 seconds, confirms a failure before alerting, and tells you the code and the likely reason.

Start watching free

All status codes · Not sure what your site returns right now? Check it.

Next time, be the first to know.

Let someone else watch the shop. If anything breaks, you will hear it from us, not from a customer.

Start your 14-day free trial No credit card needed