Transactions Issue
The code doesn't catch the transactions from Plaid:
An error occurred while getting the account: TypeError: transactions is not iterable.
In your deployed app, it doesn't appear though.
hello, I found this solution #69
Thanks!
bro,still after doing #69 steps ,error is there any solutions?
For anyone still facing this issue, feel free to check my final project for a working solution: here.
In my implementation, I used products: [Products.Auth, Products.Transactions] to resolve the problem.
If this solution works for you, please consider giving the repository a ⭐, and follow me if you want to.
Yeah ,worked fine thanks a bunch.
ca
n help from this error
i was having the same issue ADDITIONAL_CONSENT_REQUIRED ,
client does not have user consent to access the PRODUCT_TRANSACTIONS , its seems plaid added extra security to the user of US and CA , i addded ES in the env and in the createLinkToken client_name:${user.firstName} ${user.lastName}, products: ["auth", "identity", "transactions"] as Products[], language: "en", country_codes: ["US", "ES"] as CountryCode[], };
same in env PLAID_COUNTRY_CODES=US,CA,ES
in the app/root pass the objects like this
<RecentTransactions accounts={accountsData} transactions={account?.transactions} appwriteItemId={appwriteItemId} page={currentPage} /> </div> <RightSidebar user={loggedIn} transactions={account?.transactions} banks={accountsData?.slice(0, 2)} />
make sure in both transactions is account?.. and not accounts?...
also i reaplaced the variable sharableId to shareableId in all the project as well in the appwrite in the bank db, then created a new user and finally was able to fetch the transaction data