It seems to me that with recent versions of Flutter, using the "new" is no longer necessary. Anyway, I don't think that's the problem
I created an issue in the appwrite GitHub...
Hope that helps me..π
I think you should try a clean project, and you just implement what it takes to create a document, without a controller, etc...
Sure will try it and come back
Thanks for the help, I tried doing without using the model, and it works, it's really strange but whatever, it works...yaaayyy
Oh, so I guess it's not an Appwrite SDK issue :')
Sorry to disturb again, but the problem occurs again..ππ
The problem is on the document I'd generation on the server side...π
π€
That's to say ?
Yes
I mean, what's the problem on the server side?
It isn't showing anything, but I think the server is creating the same docid
Should I delete the collection and try recreating it..?
Will try and see
That's soo weird...
It works
This might have happened because I restarted the docker console that's why...never gonna do that...
Do you have a unique index on the collection?
Yes, it fails only when I create document on the client side
But I tried recreating the collection, it worked
The problem was probably the unique index
Yes
Recommended threads
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...
- [SOLVED] OAuth With Google & Flutter
Hi all, I'm trying to sign in with google and it all goes swimmingly until the call back. I get a new user created on the appwrite dashboard however the flutte...