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
- The current user is not authorized to pe...
I want to create a document associated with user after log in with OAuth. The user were logged in, but Appwrite said user is unauthorized. User is logged in wi...
- My account is blocked so please check an...
My account is blocked so please unblock my account because all the apps are closed due to which it is causing a lot of problems
- Applying free credits on Github Student ...
So this post is kind of related to my old post where i was charged 15usd by mistake. This happens when you are trying to apply free credits you got from somewh...