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
- Synchronous Function Execution Timed Out...
Hi Appwrite team 👋 I’m facing a synchronous function execution timeout issue on Appwrite Cloud and would appreciate some guidance. I executed this function u...
- Push Notification FCM Error
Hello dear people. I tried to integrate Push Notifications into my Flutter App. Everything works fine on Android/iOS Simulator + Testflight but as soon as I s...
- Skip total counts crash the query
Hello, When adding the total parameter (either true, the default, or false) to the listRows function, it raises the following error: `type 'bool' is not a sub...