4xx Client error responses
401Unauthorized
Authentication required
#When does this occur?
Returned when trying to access a resource that requires authentication without credentials. (e.g., missing Authorization header, expired token)
#How to handle?
Include valid authentication credentials. Refresh the token if expired, or proceed with login if not authenticated.
#Example
HTTP Response
HTTP/1.1 401 Unauthorized
Content-Type: application/json
Date: Tue, 10 Feb 2026 07:16:01 GMT
{
"status": 401,
"message": "Unauthorized"
}#Related Status Codes
이 포스팅은 쿠팡 파트너스 활동의 일환으로, 이에 따른 일정액의 수수료를 제공받습니다.