How do I overcome AppCheck failed on iOS 15.2 Firebase v8.11.0?

Viewed 856

Has anyone encountered this issue with Firebase version 8.11.0. I am unsure how to suppress it for my app. Do I need to integrate AppCheck into my project?

[Firebase/Firestore][I-FST000001] AppCheck failed: 'The operation couldn’t be completed. Too many attempts. Underlying error: The operation couldn’t be completed. The server responded with an error: 
 - URL: https://firebaseappcheck.googleapis.com/v1beta/projects/............
 - HTTP status code: 400 
 - Response body: {
  "error": {
    "code": 400,
    "message": "App not registered: ...............",
    "status": "FAILED_PRECONDITION"
  }
}
1 Answers

Register your apps to use App Check with the DeviceCheck provider in the Project Settings > App Check section of the Firebase console. You will need to provide the private key you created in the previous step.

You usually need to register all your project's apps, because once you enable enforcement for a Firebase product, only registered apps will be able to access the product's backend resources.

You can refer to the document for more information.

Related