Why am I getting "Invalid Envelope" errors in Firebase Cloud Functions?

Viewed 777

Sometimes the response of callable CloudFunctions cloud_functions 0.0.5 throws CloudFunctionGenericException with "Invalid Envelope" message.

This seems to happen for no specific reason, and nothing is logged to the Firebase Cloud Function Logs.

This occours rarely (once each 10 times approx), but breaks the app logic.

Why this is happening and how to fix it?

1 Answers
Related