I have an app that uses Firebase and Google Analytics. I am seeing this error in my app:
FirebaseError: Installations: Create Installation request failed with error “403 PERMISSION_DENIED: The caller does not have permission” (installations/request-failed).
The error is only showing up in production not in any local environments.
I followed the instructions in this post permission denied but that didn’t resolve my problem.
I also tried making the key unrestricted and I still see the 403 error.
Here is the request:
Request URL: https://firebaseinstallations.googleapis.com/v1/projects/torsera-e9c75/installations
Request Method: POST
Status Code: 403 Forbidden
Additionally my debugger shows me the lines of code that are causing the error and it seems to be coming from: const analytics = firebase.analytics();
2