flutterfire
flutterfire copied to clipboard
cloud functions callable functions code: invalid-argument
Bug report
Describe the bug After upgrade cloud function to 3.3.3 in my flutter app my callable functions throughs errors PlatformException (PlatformException(invalid-argument, INVALID ARGUMENT, {message: INVALID ARGUMENT, code: invalid-argument}, null))
Steps to reproduce
Steps to reproduce the behavior:
final HttpsCallable getContentImages =
FirebaseFunctions.instance.httpsCallable('getContentImages');
Future<HttpsCallableResult> fetchActiviesData() async {
return getContentImages.call(<String, dynamic>{});
}
calling > fetchActiviesData()
@Louna-akkad1
Can you provide flutter doctor -v
? and platform on which you are getting this error ?
I tried the plugin's example using latest firebase_core and cloud_functions plugin versions and ran it on iOS device in which the data was retrieved properly as below:
Can you try the same and see if using plugin example, you get same error or not ?
Hey @Louna-akkad1. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.
If you have more information that will help us get to the bottom of this, just add a comment!
Since there haven't been any recent updates here, I am going to close this issue.
@Louna-akkad1 if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.