Closed sheikhsuleman123 closed 1 year ago
I have not written any document.dart file ,
I have use Document Model which is a part of appwrite .
import 'package:appwrite/models.dart';
import this package will solve you error.
In your video you show this document where I can see this file in my project folder ?
On Tue, 29 Aug 2023, 12:18 pm Snehasis4321, @.***> wrote:
I have not written any document.dart file , I have use Document Model which is a part of appwrite . import 'package:appwrite/models.dart'; import this package will solve you error.
— Reply to this email directly, view it on GitHub https://github.com/Snehasis4321/todo_app_appwrite/issues/1#issuecomment-1696900258, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI56MXHYV5OK3DHFML4GLHTXXWJTHANCNFSM6AAAAAA4COXZLY . You are receiving this because you authored the thread.Message ID: @.***>
paste the screenshot here. i will try to figure whats your problem.
i am unable to import this
Line 11 final client= Client(); is wrong
till will be something like this
Client client = Client() .setEndpoint('YOUR_APPWRITE_ENDPOINT') //Replace with your appwrite endpoin .setProject('YOUR_PROJECT_ID') //Replace with your projectID .setSelfSigned( status: true);
Dear Brother I am using the Getx and this is my code I get an error from Appwrite
look like a backend error, just check and verify all the endpoints and project id are correct according to appwrite console.
login and signup functionality is working ok but I am facing error in the database only , is there any solution or suggestion for this
I will suggest you check the permissions of your database collection in you appwrite console,are READ WRITE permission are given or not.
Brother I cross-check everything login signup is working perfectly now when I add the todo also same error occur
solved I am proceeding your videos next If I have any issue can I ask you ?
I am unable to find the document.dart modal file