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
- Appwrite (Dart SDK) (for package_info_pl...
Hi team! Many Flutter plugins now need package_info_plus 10.x and device_info_plus 13.x, but appwrite 25.4.0 still constrains package_info_plus: >=8.0.2 <10.0...
- Images/Videos in storage appearing broke...
I am running into a storage issue after upgrading my self-hosted Appwrite instance , all of my previously uploaded images and videos are now showing as broken i...
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...