Back

[SOLVED] Invalid document structure for attribute that doesn't exist

  • 0
  • Cloud
saricden
9 Jun, 2023, 09:42

Thanks @joeyouss it's not currently hindering my work so no rush, but figured I'd report it

TL;DR
A user encountered an issue with an invalid document structure for an attribute that doesn't exist. Another user suggested that it may be an old bug related to resetting wizard states, which has been fixed in the latest version of Appwrite. They also mentioned that refreshing the page might help. Another user confirmed that the issue was not present in their session. In incognito mode, the user was able to update the document without any problem. The user expressed gratitude for the assistance and said they would try the suggested solution. Another user asked if the problem still persisted in an incognito window. The user thanked everyone for their patience and said they appreciated it
joeyouss
9 Jun, 2023, 09:43

that's a greatt thought, thanks! if this is indeed a bug we can take it to github issues

saricden
9 Jun, 2023, 09:53

Sounds good πŸ™‚ lmk if you're able to reproduce it and I can open an issue

joeyouss
9 Jun, 2023, 10:03

hmm weird -> so i made a document, added attributes, removed one attribute and tried updating, works for me but

joeyouss
9 Jun, 2023, 10:03

let me check what might be causing this issue

joeyouss
9 Jun, 2023, 10:03

probably the db is still identifying avatar_id as an attribute post deletion

saricden
9 Jun, 2023, 10:08

@joeyouss sounds like a probable cause yeah.

Unfortunately it now is hampering my development progress though, as the API is reporting the same bug...

saricden
9 Jun, 2023, 10:09

The Appwrite Cloud project is kind of disposable by the nature of what I'm working on, so if worse comes to worse I can delete it and make another if you think that'd mitigate the issue

joeyouss
9 Jun, 2023, 10:10

how much time before did you delete avatar id attribute before updating your document?

saricden
9 Jun, 2023, 10:10

Hmm not sure, maybe a few minutes?

joeyouss
9 Jun, 2023, 10:11

hmm ok, i think i do have an idea of what is wrong, lemme quickly talk to my team and get back in some time

saricden
9 Jun, 2023, 10:12

Okay thank you, I won't delete my project just yet

saricden
9 Jun, 2023, 10:12

If you'd like @joeyouss I can DM you the projectId if that's helpful

joeyouss
9 Jun, 2023, 10:16

sure sure

joeyouss
9 Jun, 2023, 10:16

also thanks for your patience, really appreciate it ❀️

saricden
9 Jun, 2023, 10:19

No prob, DM incoming πŸ™‚

Drake
9 Jun, 2023, 23:55

If you open an incognito window, do you still see the problem?

saricden
11 Jun, 2023, 09:27

Will try shortly, thank you guys for chasing this problem πŸ™‚

joeyouss
13 Jun, 2023, 08:10

hey, any updates?

Drake
13 Jun, 2023, 14:52

Invalid document structure for attribute that doesn't exist

saricden
14 Jun, 2023, 03:09

Hey @joeyouss and @Steven apologies for the delay, I just confirmed that in incognito mode I can update the document without issue

saricden
14 Jun, 2023, 03:10

That said I'm not seeing the issue in my original session anymore either πŸ‘

Drake
14 Jun, 2023, 03:15

I'm pretty sure this was an old bug where wizard states were not reset. This has been fixed in the latest version of Appwrite. If you run into this again, try refreshing the page.

saricden
14 Jun, 2023, 03:18

Awesome thanks @Steven

Drake
14 Jun, 2023, 04:27

[SOLVED] Invalid document structure for attribute that doesn't exist

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