I checked the readme.md file, but did not find a complete suggestion for these values
[solved] - finding function values?
hi, is this solved for you?
can't say yet, seems like
What’s the problem you are facing?
by then I will know if the function values I put for appwrite are corrct
Ok
any answer to this?
want to receive value from client, already sent from client though
Have you set those values in your function variable section in the settings?
If you're referring to the function was send to you from the client side?
Then, it's a string inside the req.payload variable.
final stringData = req.payload;
It's always a string so in case that you've send and object then you'll need to decode it.
import 'dart:convert';
/*
* The rest of the function code
*/
var data = '';
try {
data = jsonDecode(req.payload);
} catch (e) {
// Handle case when no data available to parse.
}
See more details here: https://appwrite.io/docs/functions
Oook
done, thanks, one more
trying to get response but got error
// print(response["status"]);
final serverResponse = jsonDecode(response.toString());
print(serverResponse["status"]);
}````
```[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: NoSuchMethodError: Class 'Execution' has no instance method '[]'.
Receiver: Instance of 'Execution'```
Create execution returns an Execution object. Use the autocomplete feature on your IDE to see how to use the object. Don't call to string on it
okay, I appreciate you @Steven
did nit find any that worked
please create a new <#1072905050399191082> post and don't reuse posts for a different problem
Recommended threads
- Hi, I'm getting this error while deployi...
✗ Error • search (6937cb70002c2e9c1a97) • Fai ✗ Error: Deployment of search has failed. Check at https://cloud.appwrite.io/console/project-693...
- Timed out waiting for runtime. Error Cod...
After setting up my ML project that uses deepface and tensorflow in appwrite functions I get the `Timed out waiting for runtime. Error Code: 400. ` error. I am...
- Error with realtime channels
I'm performing a subscription to realtime channels, and after a few seconds I get an exception with this error: {\"type\":\"error\",\"data\":{\"code\":1008,\"me...