Rank 3: Container
Hello, I'm not sure whether this is related to maintenance because I can't create documents in one collection, but I can do so in another collection of the same database.
Votes
0
Replies
20
Participants
Unknown
Messages
21
Rank 3: Container
Hello, I'm not sure whether this is related to maintenance because I can't create documents in one collection, but I can do so in another collection of the same database.
Admin
Do you have relationships in this collection?
Admin
What's your project id?
Rank 3: Container
Hi Steven, my project ID is huntpile, collection id = offer. There is no relationship at all in that table
Admin
hmm let me see what we can do about this...
Rank 3: Container
Thanks
Rank 3: Container
By any chance this could be my own data error? So that I can investigate further?
Moderator
did you set permissions?
Rank 3: Container
I tried to insert the record from appwrite console. I didn't set any permission during insertion. The collection has a permission to allow any users to create.
Moderator
Yeah you’re not technically a user
Moderator
well
Moderator
Actually in the console with an api key you are
Moderator
so you tried to create from console and it gave you that error
Admin
Nah this was caused by the upgrade...your enum attribute didn't migrate over properly
Rank 3: Container
yes.
Rank 3: Container
oh. do I delete the attribute and recreate? in order for it to work
Admin
That might work...if you're okay with losing the data.
Rank 3: Container
Thanks very much. I will do it.
Admin
Or maybe even updating your enum
Rank 3: Container
Editing the enum works perfectly. Thanks a lot.
Rank 3: Container
[SOLVED] 500 error when creating a document