Rank 2: Process
Hi all, I'm encountering an issue when calling an Appwrite function from my Flutter app.
Environment:
Appwrite Flutter SDK: 16.1.0```**Problem:**I'm getting the following error in the Flutter app when calling a function:```AppwriteException: general_unknown, Server Error (500)#0 ClientMixin.prepareResponse (package:appwrite/src/client_mixin.dart:90:9)#1 ClientIO.call (package:appwrite/src/client_io.dart:412:14)<asynchronous suspension>#2 Functions.createExecution (package:appwrite/services/functions.dart:63:17)<asynchronous suspension>#3 DbBackendClient.sendByteData.<anonymous closure> (package:port_db_backend_client/db/db_client_flutter.dart:307:7)<asynchronous suspension>#4 DbBackendClient.sendByteData (package:port_db_backend_client/db/db_client_flutter.dart:296:5)<asynchronous suspension>#5 PortDbBackendClient._sendData.<anonymous closure> (package:port_db_backend_client/src/port_db_backend_client_base.dart:93:39)<asynchronous suspension>Notes:
The function execution appears successful in the Appwrite Console, and I can even see the correct response there.
But from the Flutter app, it throws a general_unknown (500) error.
Question:
Am I missing something in the response handling, or is this a known issue with the Flutter SDK? Any ideas on how to debug or fix this?
Thanks in advance 🙏