[Firebase] Could not reach Cloud Firestore backend. (해결)

한시온·2022년 5월 22일
0

오류 메시지

W/Firestore(18811): (24.1.2) [OnlineStateTracker]: Could not reach Cloud 
Firestore backend. Connection failed 1 times. Most recent error: 
Status{code=PERMISSION_DENIED, description=Cloud Firestore API has not been used 
in project 758953775626 before or it is disabled. Enable it by visiting 
https://console.developers.google.com/apis/api/firestore.googleapis.com/overview
?project=758953775626 then retry. If you enabled this API recently, wait a few 
minutes for the action to propagate to our systems and retry., cause=null}

해결

  1. Cloud Firestore 데이터베이스를 생성했는가?
    • 예 => 2번으로
    • 아니오 => 생성 후 2번으로
  2. 생성 후 30일이 지났는가?
    • 예 => 규칙 수정 (테스트 모드에서 프로덕션 모드로 전환되어 권한이 바뀌었을 가능성 있음)
    • 아니오 => 규칙 확인
profile
가볍고 무겁게

0개의 댓글