AttributeError: ‘Credentials’ object has no attribute ‘Certificate’ in python firebase_admin

I am getting error ‘Credentials’ object has no attribute ‘Certificate’. I already tried to reinstall the firebase_admin package.

Traceback (most recent call last):
  File "main.py", line 29, in <module>
    cred = credentials.Certificate('./FStoreCredential/credentials.json')
AttributeError: 'Credentials' object has no attribute 'Certificate'

Source: Python Questions

LEAVE A COMMENT