Back

CAN'T ACCESS DATA! Sever error after creating an attribute and changing the field size.

  • 0
  • Cloud
IJustDev
9 Oct, 2024, 18:05

I need help on the cloud version of appwrite. I created a text field on my collection and after that I have changed the size. Now I am stuck in a state where I can not update any document.

TL;DR
Developers experiencing a sever error after creating an attribute and changing the field size. The field "telephone" seems to be causing issues, showing up as non-existent in some instances. It's best to try deleting the attribute and creating a new one. Consider submitting a support ticket via the Appwrite Console for further assistance.
IJustDev
9 Oct, 2024, 18:05

@Steven you have helped me last time with the relationship attributes, could you please take a look at this?

IJustDev
9 Oct, 2024, 18:06

Project is "isar-maintenance"

IJustDev
9 Oct, 2024, 18:07

And the collection is customers. The attribute that is stuck in a weird state is "telephone". If there is any data in this field, it's no issue if that is wiped. all other fields are important.

IJustDev
9 Oct, 2024, 18:09
Steven
9 Oct, 2024, 18:10

what was the size before and what did you change it to?

Steven
9 Oct, 2024, 18:10

btw, the best way to get help is by submitting a support ticket via the Appwrite Console

IJustDev
9 Oct, 2024, 18:11

The previous was 32 and now i have changed it to 128

Steven
9 Oct, 2024, 18:11

and when did you try to update?

IJustDev
9 Oct, 2024, 18:11

Update the collection 20 minutes ago. Updated the documents still does not work, tested right now

IJustDev
9 Oct, 2024, 18:12

The field does not show up in the console, but when fetching a customer, then the field "telephone" is in the answer with null value

IJustDev
9 Oct, 2024, 18:12

It is also not existent when trying to push my appwrite.json collection definition. So it prompts me if I want to create the field "telephone" in the collection "customer"

Steven
9 Oct, 2024, 18:33

i don't see this attribute...

Steven
9 Oct, 2024, 18:33

did you delete the attribute?

IJustDev
9 Oct, 2024, 18:34

yes

IJustDev
9 Oct, 2024, 18:34

i tried

IJustDev
9 Oct, 2024, 18:34

That's why its stuck i time

IJustDev
9 Oct, 2024, 18:35

It somehow exists and doesnt at the same time

Steven
9 Oct, 2024, 18:35

Also, FYI, relationships are experimental and may cause performance problems so be wary when using too many

IJustDev
9 Oct, 2024, 18:36

thank you! 🙂

IJustDev
9 Oct, 2024, 18:36

Can you fix the issue with the telephone field?

IJustDev
9 Oct, 2024, 18:37

Just actually deleting would help I think. If there's no trace of the field I could just create a new one with the right size from the beginning on

Steven
9 Oct, 2024, 18:43

you said you see it when you fetch. what exactly are you fetching?

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