AppwriteException [Error]: Invalid query: Attribute not found in schema: userId
at Client.call (webpack-internal:///(rsc)/./node_modules/node-appwrite/lib/client.js:206:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Databases.listDocuments (webpack-internal:///(rsc)/./node_modules/node-appwrite/lib/services/databases.js:1658:16)
at async $$ACTION_7 (webpack-internal:///(rsc)/./lib/actions/user.actions.ts:230:23)
at async $$ACTION_0 (webpack-internal:///(rsc)/./lib/actions/bank.actions.ts:31:23)
at async Home (webpack-internal:///(rsc)/./app/(root)/page.tsx:36:22) {
code: 400,
type: 'general_query_invalid',
response: {
message: 'Invalid query: Attribute not found in schema: userId',
code: 400,
type: 'general_query_invalid',
version: '1.5.6'
}
}
An error occurred while getting the accounts: TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
at Function.all (<anonymous>)
at $$ACTION_0 (webpack-internal:///(rsc)/./lib/actions/bank.actions.ts:34:40)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Home (webpack-internal:///(rsc)/./app/(root)/page.tsx:36:22)
getting this error if some can help then ples let m know
#I am getting error after sing-up i did not get the data
3 messages · Page 1 of 1 (latest)
Check to see that you have created the userId attribute on your banks and users table
did you make a userId attribute in bank? - or could share all the attributes you created outside of users?