인증 정보 누락
API는 이 문제가 발생하면 401 Unauthorized 응답을 반환합니다. 이 문제의 type 값은 https://lingo.dev/docs/api/errors/credentials-missing입니다. 모든 오류의 공통 구조는 오류 및 상태 코드를 참고하세요.
요청에 인증 정보가 없습니다. X-API-Key 헤더에 API 키를 담아 보내거나, 'Authorization: Bearer <token>' 형식으로 세션 토큰을 보내세요.
필드#
이 문제에는 표준 멤버만 포함됩니다.
예시#
json
{
"detail": "The request carries no credentials. Send an API key in the X-API-Key header, or a session token as 'Authorization: Bearer <token>'.",
"type": "https://lingo.dev/docs/api/errors/credentials-missing",
"status": 401,
"title": "Credentials missing"
}반환하는 엔드포인트#
모든 엔드포인트에서 반환될 수 있습니다. 엔드포인트의 자체 작업이 시작되기 전, 모든 요청에 공통으로 적용되는 검사에서 발생합니다.