#[CLOSED] (Bugged) Query.select = 500 general unknown error

27 messages · Page 1 of 1 (latest)

raven hull
#

When I use Query.select (Appwrite 1.3.7) I get general unknown error on Flutter.

Those are the queries I'm performing:

[
Query.equal("Attribute1", "attribute"),
Query.startsWith("\$createdAt", "date"),
Query.select(["\$createdAt"]),
]```

If I remove Query.select everything works fine
amber stirrup
#

Does order of the Query's important?

raven hull
#

I tried changing order and same error, so I think in such case is not important?

#

I get in sentry this error:
Can not select attributes: $createdAt

#

And this one too:
SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'value' at row 1

#

Tied with other attributes and same error

wide spire
#

Same on my side, error 500.

#

(With appwrite 1.3.8 self-hosted)

light moat
#

did you create an index for createdAt 😅

raven hull
light moat
#

maybe, I'm not sure lol

#

give it a try i guess

raven hull
#

Yes, will try

half cedar
half cedar
#

Yes
I think that part is not in relationships only

raven hull
half cedar
#

Giving you the ability to select them

raven hull
#

Oh, so you mean it's bugged for now until this pr is merged (new Appwrite version released)?

raven hull
#

[BUGGED] Query.select = 500 general unknown error

#

Uh, maybe closed is better or what?

half cedar
#

I went over the code again,

raven hull
#

[CLOSED] (Bugged) Query.select = 500 general unknown error