Unable to create a FirestoreClient: Error occurred during parsing: Fail to push limit. #572
Replies: 2 comments 1 reply
-
I haven't encountered this error before, but it since it happens during the creation of the FirsetoreClient, the only thing that comes to my mind is that the ServiceAccount file/JSON could not be correctly parsed. This you can check by trying to make a connection through another component of the SDK, e.g. with Another approach would be to test if it works in another remote environment/another server - if it doesn't, try checking if the Firestore API is enabled in your project's Google Cloud Console. 🤞 |
Beta Was this translation helpful? Give feedback.
-
I have the same problem. I have implanted the Firebase SDK in my production server, with PHP 7.4 installed. The error I have translated the JSON key on my development server, with PHP 8 installed, and works fine, using the same JSON private key file located on my production server. Now, the firestore configuration is not the problem. Did have other idea to attempt to resolve this problem? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm playing with this dependencies and in dev it's amazing. However, when I try in prod on my server I get this error:
Unable to create a FirestoreClient: Error occurred during parsing: Fail to push limit.
on the line : vendor/kreait/firebase-php/src/Firebase/Factory.php:553
Do you know what is the problem and how I could fix it ?
Thank you so much !
Beta Was this translation helpful? Give feedback.
All reactions