While using updateStringAttribute with this params (dart sdk)
await _databases.get().updateStringAttribute(
databaseId: ...,
collectionId: ...,
key: ...,
xrequired: false,
xdefault: null,
);
I receive this error:
general_argument_invalid, Param "default" is not optional. (400)
What is the SDK version?
10.0
maybe try : xdefault: '[DEFAULT]'?
await _databases.get().updateStringAttribute(
databaseId: ...,
collectionId: ...,
key: ...,
xdefault: '', // Set a default value (e.g., empty string)
);
Also make sure that you are on latest appwrite version. Sdk 10.0 is built against 1.4.3.
oye...it would be good to create an issue for this
Recommended threads
- MariaDB refuses to connect to appwrite
Earlier, I tried updating my Appwrite version from 18.1.x to the latest release because my Flutter package required it to function properly. I used the official...
- Console display all Databases as TablesD...
While looking at an issue with <@1231860789355347971> we saw that the console was displaying ALL databases as `TablesDB` even if the real type in the API is `le...
- HTTP Error 500 ''
Hello to everyone, I'm a Flutter developer and actually I'm developing an app using Appwrite.. during my tests and also massive ones I've noticed something we...