Open ssaintx opened 2 months ago
The document structure has "identificationDocumentId" missing
i figured out, where was a problem. I did not use "use server" at server actions and used "use client" on page. So i solved my problem.
@ssaintx which page are you referring to? could you provide screenshot of the code if possible?
I think the issue might be around the sdk client.
client.setEndpoint(ENDPOINT!).setProject(PROJECT_ID!).setKey(API_KEY!);
I hardcoded the string values and it worked.
but passing string values exposes the endpoint and secrets
@ssaintx which page are you referring to? could you provide screenshot of the code if possible?
i used "use client" in patient page and home page in the app folder. I used hook for making dynamic year which was my mistake. So i figured out the problem and created new component called "Year.tsx" and used it as client component. And just used in the copyright section just by calling Year component
As you can see it is very easy to use and obvious
i have this same issue how to solve it any simple way code: 400, type: 'document_invalid_structure', response: { message: 'Invalid document structure: Unknown attribute: "identificationDocumentId"', code: 400, type: 'document_invalid_structure', version: '1.5.7'
@VehanRajintha, it seems that you're passing the wrong data to the document, or the document expects something different, and the data sent to it is different. Do verify (from field name spelling) if all the field data is passed when creating a new document in Appwrite DB
@VehanRajintha, it seems that you're passing the wrong data to the document, or the document expects something different, and the data sent to it is different. Do verify (from field name spelling) if all the field data is passed when creating a new document in Appwrite DB
i checked all of the things and spellings again and again but still it happen
@VehanRajintha share your github repo link
I think the issue might be around the sdk client.
client.setEndpoint(ENDPOINT!).setProject(PROJECT_ID!).setKey(API_KEY!);
I hardcoded the string values and it worked.but passing string values exposes the endpoint and secrets
it does solved my problems but have you found any alternatives yet? @Vinal-Vin
hey, there is infinite loading after clicking submit button. i checked console, api's but where is a problem?
iam still at this problem, infinite loading
infinite loading when registering a patient
hey, there is infinite loading after clicking submit button. i checked console, api's but where is a problem?