Can you show configuration of your attributs ?
Are you on cloud or self hosted ?
Cloud
I think this is a bug on Appwrite's side
I am passing 56 to breadth which needs Double value
It is failing then
But if I pass 56.5 to breadth, it will pass
Yes, to query float type on cloud, you need to pass float
It's fix with new version (wich isn't already on cloud)
Yes, in JavaScript every number is float by default
Will passing string work?
Nope
Yes tried it
didnt work
then try passing 56.0 and see if it works
Not possible in JavaScript
um is that so? i don't think i've faced any issues with .0 🤔
see I am storing these values in a variable, if there is 56.0 value, JavaScript will automatically turn it into 56
I mean I might be wrong.
Why don't you pass a string like Number('56.0')
or something
Not sure why this is happening tbh
I'm gonna test this on my end
Okay, but you can't pass string as well. I tested that
It's a bug that needs to be solved
Are you on cloud?
yes
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...
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...