Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurred while creating a new patient: AppwriteException [Error]: Invalid document structure: Unknown attribute: "identificationDocumentId" #56

Open
Sharmin097 opened this issue Sep 22, 2024 · 2 comments

Comments

@Sharmin097
Copy link

An error occurred while creating a new patient: AppwriteException [Error]: Invalid document structure: Unknown attribute: "identificationDocumentId"
how to solve this one .it happens in the registration form

@cademy07
Copy link

The same I encountered this error
POST /patients/67583a690025433d01bb/register 200 in 6111ms An error occurred while creating a new patient: AppwriteException [Error]: Invalid document structure: Unknown attribute: "identificationDocumentId" at Client.call (webpack-internal:///(rsc)/./node_modules/node-appwrite/lib/client.js:206:15) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async Databases.createDocument (webpack-internal:///(rsc)/./node_modules/node-appwrite/lib/services/databases.js:1711:16) at async $$ACTION_2 (webpack-internal:///(rsc)/./lib/actions/patient.actions.ts:66:28) at async C:\Users\User\Documents\React-NextJs\healthcare\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:39:418 at async rS (C:\Users\User\Documents\React-NextJs\healthcare\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:38:7978) at async r2 (C:\Users\User\Documents\React-NextJs\healthcare\node_modules\next\dist\compiled\next-server\app-page.runtime.dev.js:41:1251) at async doRender (C:\Users\User\Documents\React-NextJs\healthcare\node_modules\next\dist\server\base-server.js:1438:30) at async cacheEntry.responseCache.get.routeKind (C:\Users\User\Documents\React-NextJs\healthcare\node_modules\next\dist\server\base-server.js:1587:40) at async DevServer.renderToResponseWithComponentsImpl (C:\Users\User\Documents\React-NextJs\healthcare\node_modules\next\dist\server\base-server.js:1507:28) at async DevServer.renderPageComponent (C:\Users\User\Documents\React-NextJs\healthcare\node_modules\next\dist\server\base-server.js:1924:24) at async DevServer.renderToResponseImpl (C:\Users\User\Documents\React-NextJs\healthcare\node_modules\next\dist\server\base-server.js:1962:32) at async DevServer.pipeImpl (C:\Users\User\Documents\React-NextJs\healthcare\node_modules\next\dist\server\base-server.js:920:25) at async NextNodeServer.handleCatchallRenderRequest (C:\Users\User\Documents\React-NextJs\healthcare\node_modules\next\dist\server\next-server.js:272:17) at async DevServer.handleRequestImpl (C:\Users\User\Documents\React-NextJs\healthcare\node_modules\next\dist\server\base-server.js:816:17) at async C:\Users\User\Documents\React-NextJs\healthcare\node_modules\next\dist\server\dev\next-dev-server.js:339:20 at async Span.traceAsyncFn (C:\Users\User\Documents\React-NextJs\healthcare\node_modules\next\dist\trace\trace.js:154:20) at async DevServer.handleRequest (C:\Users\User\Documents\React-NextJs\healthcare\node_modules\next\dist\server\dev\next-dev-server.js:336:24) at async invokeRender (C:\Users\User\Documents\React-NextJs\healthcare\node_modules\next\dist\server\lib\router-server.js:174:21) at async handleRequest (C:\Users\User\Documents\React-NextJs\healthcare\node_modules\next\dist\server\lib\router-server.js:353:24) at async requestHandlerImpl (C:\Users\User\Documents\React-NextJs\healthcare\node_modules\next\dist\server\lib\router-server.js:377:13) at async Server.requestListener (C:\Users\User\Documents\React-NextJs\healthcare\node_modules\next\dist\server\lib\start-server.js:141:13) { code: 400, type: 'document_invalid_structure', response: { message: 'Invalid document structure: Unknown attribute: "identificationDocumentId"', code: 400, type: 'document_invalid_structure', version: '1.6.1' } }

@Sharmin097
Copy link
Author

Sharmin097 commented Dec 10, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants