Back

Invalid `max` param: Value must be a valid float (on `appwrite deploy collection`)

  • 0
  • Self Hosted
  • Databases
ideclon
21 Mar, 2024, 17:20

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.
ideclon
21 Mar, 2024, 17:23

(The value seems to be the correct max for MySQL DOUBLEs)

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more