Getting The error "The getter 'data' isn't defined for the type 'Execution'. Try importing the library that defines 'data', correcting the name to the name of an existing getter, or defining a getter or field named 'data'."
I'm not too familiar with Flutter, but the documentation shows that the returned object doesn't have a data attribute https://appwrite.io/docs/references/cloud/models/execution
but I how can I resolve it
The link I sent shows the properties on the object returned from the SDK, there is no data property but it looks like you might be looking for responseBody instead? What exactly are you trying to achieve?
I am trying to create a function that scrabs website data using Python but I am now on flutter & this error shows up
So you're trying to get the data returned from the Function?
If you're trying to access the data returned from the Function execution, then it's likely you'll want to use responseBody instead of data
Recommended threads
- Unable to add user preferences within au...
When i click on the add preference button nothing happens. There are other buttons within the page which seem unresponsive, including the multi-authentication t...
- cli broke with new varchar type??
``` appwrite types ./appwritetypes ℹ Info: Detected language: ts ℹ Info: Directory: ./...
- Fix Android OAuth2 page not being resume...
I've opened a PR a while back that fixes Flutter OAuth2 authentication with recent `flutter_web_auth_2` version, that didn't get much attention: * https://githu...