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

Error: client does not have user consent to access the PRODUCT_TRANSACTIONS product #69

Closed
Rotaralexc opened this issue Oct 12, 2024 · 8 comments

Comments

@Rotaralexc
Copy link

Hello, I got the following error, for some reason I dont get the data for recent transactions in the home page.
Here is the error that I got:
image
image
image

Does anyone know how to fix this problem?
I tried to clone the repo and had the same issue, also I recreated the database and checked for misspelling and still got the problem.
Thank you in advance!

@Rotaralexc
Copy link
Author

Found out the solution, in order to fetch the transaction data you have to add this in code
image
After that deactivate the dwolla user, and delete the appwrite user data and it will work

@badya9a
Copy link

badya9a commented Oct 13, 2024

Bro, u saved me, got the same error

@Coder-Sujal
Copy link

bro after change still i got the same error

@StackTheCode
Copy link

bro after change still i got the same error

Yeah i changed that but still having the same error:

An error occurred while getting the account: TypeError: transactions is not iterable

@JavDaGreat
Copy link

JavDaGreat commented Oct 31, 2024

is someone getting this error ??
i jst tested and clone the rep and add transactions inside user actions same error .

AppwriteException: Invalid query: Attribute not found in schema: senderBankId
at _Client.call (webpack-internal:///(rsc)/./node_modules/node-appwrite/dist/client.mjs:287:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Databases.listDocuments (webpack-internal:///(rsc)/./node_modules/node-appwrite/dist/services/databases.mjs:1625:12)
at async $$ACTION_1 (webpack-internal:///(rsc)/./lib/actions/transaction.actions.ts:39:36)
at async $$ACTION_1 (webpack-internal:///(rsc)/./lib/actions/bank.actions.ts:88:42)
at async Home (webpack-internal:///(rsc)/./app/(root)/page.tsx:32:21) {
code: 400,
type: 'general_query_invalid',
response: {
message: 'Invalid query: Attribute not found in schema: senderBankId',
code: 400,
type: 'general_query_invalid',
version: '1.6.0'
}
}

@Daniel-Azil
Copy link

It means you haven't created the senderBankId attribute in Appwrite. Navigate to 5:52:45 in the YouTube tutorial and create all the attributes for the transaction collection as shown in the tutorial.

@iOMJaiswal
Copy link

I am getting same error

bro after change still i got the same error

Rotaralexc @adrianhajdin

@AnilkumarKotyada
Copy link

why this error are how to reslove form them
Screenshot 2024-11-28 003712
Screenshot 2024-11-28 003748

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

8 participants