에러 코드 포털
GoogleFirebase Authentication Admin SDK오류 코드

auth/invalid-credential

invalid credential

Firebase Admin SDK의 사용자 관리·인증 요청에서 반환되는 오류입니다. 서버가 반환한 auth/invalid-credential와 아래 공식 설명을 비교하세요.

The credential used to authenticate the Admin SDKs cannot be used to perform the desired action. Certain Authentication methods such as createCustomToken() and verifyIdToken() require the SDK to be initialized with a certificate credential as opposed to a refresh token or Application Default credential. See Initialize the SDK for documentation on how to authenticate the Admin SDKs with a certificate credential.

해결·진단 링크

문서의 제품·버전·발생 환경이 현재 상황과 일치하는지 먼저 확인하세요.