Shivanshu GuptaOriginal post
Rank 1: Thread
AppwriteException: general_argument_invalid, Param "default" is not optional. (400)
Summary
Error occurs when attempting to update a string attribute's default value in Dart SDK due to the value being required, not allowing it to be set to null. To solve this, the `xdefault` parameter should be handled differently when `attributeA.required` is true to avoid setting it to null, which results in an error.