adrianhajdin / social_media_app

Build a modern social app with a stunning UI with a native mobile feel, a special tech stack, an infinite scroll feature, and amazing performance using React JS, Appwrite, TypeScript, and more.
https://jsmastery.pro
1.07k stars 322 forks source link

can not signup and signin AppwriteExpetion: Invalid document structure:Missing required attribute "accountid" #14

Open hephaestus369 opened 8 months ago

hephaestus369 commented 8 months ago

content-script.js:104 Failed to get subsystem status for purpose Object cloud.appwrite.io/v1/databases/6544e479aba1454ec652/collections/xxxxx/documents?queries%5B0%5D=equal%28%22accountId%22%2C+%5B%22654a3509ab1a622c22da%22%5D%29:1

   Failed to load resource: the server responded with a status of 400 ()

api.ts:100 AppwriteException: Invalid query: Attribute not found in schema: accountId at Client. (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=7d826b09:850:17) at Generator.next () at fulfilled (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=7d826b09:488:24) cloud.appwrite.io/v1/databases/6544e479aba1454ec652/collections/6544e5b07a9561cbc689/documents?queries%5B0%5D=equal%28%22accountId%22%2C+%5B%22654a3509ab1a622c22da%22%5D%29:1

   Failed to load resource: the server responded with a status of 400 ()

api.ts:100 AppwriteException: Invalid query: Attribute not found in schema: accountId at Client. (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=7d826b09:850:17) at Generator.next () at fulfilled (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=7d826b09:488:24) client.ts:425 Appwrite is using localStorage for session management. Increase your security by adding a custom domain as your API endpoint. (anonymous) @ client.ts:425 cloud.appwrite.io/v1/databases/xxxx/collections/xxxxx/documents:1

   Failed to load resource: the server responded with a status of 400 ()

api.ts:57 AppwriteException: Invalid document structure: Missing required attribute "accountid" at Client. (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=7d826b09:850:17) at Generator.next () at fulfilled (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=7d826b09:488:24) image

hmongdev commented 8 months ago

content-script.js:104 Failed to get subsystem status for purpose Object cloud.appwrite.io/v1/databases/6544e479aba1454ec652/collections/xxxxx/documents?queries%5B0%5D=equal%28%22accountId%22%2C+%5B%22654a3509ab1a622c22da%22%5D%29:1

   Failed to load resource: the server responded with a status of 400 ()

api.ts:100 AppwriteException: Invalid query: Attribute not found in schema: accountId at Client. (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=7d826b09:850:17) at Generator.next () at fulfilled (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=7d826b09:488:24) cloud.appwrite.io/v1/databases/6544e479aba1454ec652/collections/6544e5b07a9561cbc689/documents?queries%5B0%5D=equal%28%22accountId%22%2C+%5B%22654a3509ab1a622c22da%22%5D%29:1

   Failed to load resource: the server responded with a status of 400 ()

api.ts:100 AppwriteException: Invalid query: Attribute not found in schema: accountId at Client. (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=7d826b09:850:17) at Generator.next () at fulfilled (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=7d826b09:488:24) client.ts:425 Appwrite is using localStorage for session management. Increase your security by adding a custom domain as your API endpoint. (anonymous) @ client.ts:425 cloud.appwrite.io/v1/databases/xxxx/collections/xxxxx/documents:1

   Failed to load resource: the server responded with a status of 400 ()

api.ts:57 AppwriteException: Invalid document structure: Missing required attribute "accountid" at Client. (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=7d826b09:850:17) at Generator.next () at fulfilled (http://localhost:5173/node_modules/.vite/deps/appwrite.js?v=7d826b09:488:24) image

It should be accountId, not accountid