In my case, I am using firestore from GCP and changed the Json file for the service account to that of the default user of firestore and this error was resolved. The content of the error does not seem to be particularly relevant; it takes time in GCP as it often has nothing to do with the content of the error.