Skip to content
Skip to content
← All Status Codes
401
Client Error

401 Unauthorized

Authentication is required and has failed or not been provided.

Description

The 401 Unauthorized status code indicates that the request has not been applied because it lacks valid authentication credentials. The response must include a WWW-Authenticate header indicating the authentication scheme.

Common Causes

  • Missing or expired authentication token
  • Invalid API key
  • Session expired
  • Incorrect username or password

How to Fix

  • Include valid credentials in the request
  • Refresh expired tokens
  • Check API key validity
  • Re-authenticate if session expired

Check your website's HTTP status code

Check now →

Related Status Codes