Open shashankxrm opened 1 month ago
Did you add th document Id when you were supposed to though?
Just downgrade node-appwrite to version 12.0.1.
I have the same issues when i clicking on Submit Appointment button. nothing happened at all this a Screenshot
I have the same issues when i clicking on Submit Appointment button. nothing happened at all this a Screenshot
This on the register page though?
An error occurred while retrieving the patient details: SyntaxError: "undefined" is not valid JSON at JSON.parse (<anonymous>) at parseStringify (webpack-internal:///(rsc)/./lib/utils.ts:17:38) at $$ACTION_3 (webpack-internal:///(rsc)/./lib/actions/patient.actions.ts:84:70) at async NewAppointment (webpack-internal:///(rsc)/./app/patients/[userId]/new-appointment/page.tsx:15:21) GET /patients/66900f9400015cd49149/new-appointment 200 in 437ms GET /favicon.ico 500 in 23ms An error occurred while scheduling an appointment: AppwriteException: Missing required parameter: "documentId" at Databases.updateDocument (webpack-internal:///(action-browser)/./node_modules/node-appwrite/dist/services/databases.mjs:1695:13) at $$ACTION_3 ### (webpack-internal:///(action-browser)/./lib/actions/appointment.actions.ts:110:98)
Its saying that "documentId" parameter is missing