
It's just 18 digits

How much it should be

Does the system counts 3 digits as 100

:appwritepeepo:

yes

Wtf man

Sry for slang

Server IDs are of 18 digits

999999999999999999

It may be show error

try something like this as max limit

Ok

Ig

We did it

working ?

Let me test

ok

Shit

Now it says

Server error

:appwritepeepo:

@Meldiron sry for the ping but what it means

Looking at server error, it still gives Out of range value for column 'id'
.
Let's please avoid using integers here, if we can. String is intended use for ID and should work perfectly fine in this scenario.
Let's please double check attribute is string - re-create collection if needed.
Lets also ensure you no longer convert to int()
in the code, and pass string values in database.
I would also recommend adding some print()
s to ensure the latest changes to code are being used, and possibly give you more context to error if it occurs (pby printing ID, key, collection id, project id, ...)

I am confident storing 564160730845151244
in string attribute of length let's say 255 will work in Appwrite.

Wait then
Recommended threads
- Google login error: {"message":"Invalid ...
hi, im trying to use google login with account.createOAuth2Session( 'google', 'profevardilla.pages.dev', 'profevardilla.pages.dev'...
- Create owner team member with Server fun...
I understand that when creating a team with a function, the user that made the request will not be the owner so I think I have to add the user that did the requ...
- Appwrite processing global envs and chan...
So I define a global env - GCP_CREDENTIALS in global env of my appwrite projcet and refer to it in my functions as ```gcp_creds: JSON.PARSE(GCP_CREDENTIALS)```...
