how can you call a google cloud function from flutter and receive data from it?

You’re mixing up callable functions and normal HTTP functions. On your client, you’re expecting to invoke a callable function, but on your backend you have a normal HTTP function defined via an Express app. You can’t use the callable function library on the client to invoke arbitrary backend functions. The backend function must also use the provided SDK as described in the documentation. Be sure to read that linked documentation carefully to understand how they work.

If you want to invoke your function as it stands now, you will need to abandon using the client SDK and instead using a normal HTTP request.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top