I created a float
Attribute in the Console (and left max
empty), called appwrite init collection
and then tried to deploy it with appwrite deploy collection
, and received the above error.
The max
value for the float in the generated appwrite.json
(and shown in the Console) is 1.7976931348623157e+308
.
TL;DR
Issue with invalid 'max' param for float attribute when deploying collection.
Developers created a float attribute without specifying 'max,' then deployed the collection, resulting in the mentioned error. The correct 'max' value is "1.7976931348623157e+308" for MySQL DOUBLEs.