HTTP

401 Unauthorized

The request requires user authentication. The response includes a WWW-Authenticate header indicating the authentication scheme.

Ketika Anda Melihat Kode Ini

When accessing a protected resource without credentials or with expired tokens.

Cara Memperbaiki

Include valid authentication credentials (API key, Bearer token, Basic auth) in the Authorization header.

Spesifikasi

Lihat RFC / Spesifikasi →

Kode Terkait

Padanan Lintas Protokol

Perbandingan

Panduan

Glosarium