plaid-node icon indicating copy to clipboard operation
plaid-node copied to clipboard

client is not authorized to access the following products

Open DaLiangLee opened this issue 3 years ago • 7 comments

Hello, I have some accounts_type loan and other not getting transactions when I call the "transactions/get" API, according to the documentation I want to test with "investments/transactions/get", but I get this error "error_message": "client is not authorized to access the following products: ["investments"]"

DaLiangLee avatar Sep 21 '22 09:09 DaLiangLee

Hello, I have some accounts_type loan and other not getting transactions when I call the "transactions/get" API, according to the documentation I want to test with "investments/transactions/get", but I get this error "error_message": "client is not authorized to access the following products: ["investments"]"

Hi @DaLiangLee! It sounds like you're attempting to use/test Investments in the Development or Production environment. To test Investments in these environments, you'll need to first request access by submitting a product access request Support ticket explaining your use case. In the meantime, Investments can be tested in Sandbox without any additional permissions.

ghernandez-plaid avatar Sep 21 '22 16:09 ghernandez-plaid

Hello, I have some accounts_type loan and other not getting transactions when I call the "transactions/get" API, according to the documentation I want to test with "investments/transactions/get", but I get this error "error_message": "client is not authorized to access the following products: ["investments"]"

Hi @DaLiangLee! It sounds like you're attempting to use/test Investments in the Development or Production environment. To test Investments in these environments, you'll need to first request access by submitting a product access request Support ticket explaining your use case. In the meantime, Investments can be tested in Sandbox without any additional permissions.

thank you for your reply Do you mean that this error occurs because the product environment does not have the api permission to apply for investment (I can't log in to the customer's plaid, so I can't view it)

DaLiangLee avatar Sep 22 '22 01:09 DaLiangLee

image

account type: other image account type: loan image

My customer feedback said that there are records in these two accounts, but I didn't find them. According to the plaid documentation, I guess that it may need to be replaced with "investments/transactions/get", so I want to give it a try. But I got this error "client is not authorized to access the following products: ["investments"]" I want to understand why the data under these two accounts cannot be found, because the configuration ""PLAID_PRODUCTS": ["transactions"]" Thank you very much for your reply, this problem has been bothering me for a week, my client is very anxious to see his transaction records...

DaLiangLee avatar Sep 22 '22 03:09 DaLiangLee

image

account type: other image account type: loan image

My customer feedback said that there are records in these two accounts, but I didn't find them. According to the plaid documentation, I guess that it may need to be replaced with "investments/transactions/get", so I want to give it a try. But I got this error "client is not authorized to access the following products: ["investments"]" I want to understand why the data under these two accounts cannot be found, because the configuration ""PLAID_PRODUCTS": ["transactions"]" Thank you very much for your reply, this problem has been bothering me for a week, my client is very anxious to see his transaction records...

DaLiangLee avatar Sep 22 '22 03:09 DaLiangLee

image Could it be the reason here? investment not included

DaLiangLee avatar Sep 22 '22 03:09 DaLiangLee

image Could it be the reason here? investment not included

Hi @DaLiangLee – That is correct. The /transactions/get endpoint is part of the Transactions product, while the investments/transactions/get endpoint is part of the Investments product. Based on your screenshots, it appears that client is currently only using the Transactions product, which allows access to a user's transaction history for depository type accounts such as checking and savings accounts, credit type accounts such as credit cards, and student loan accounts. For transaction history from investment accounts, use Plaid's Investments product.

To use the Investments product, you'll need to first request access to it by submitting a product access request Support ticket explaining your use case. Once approved, you'll be able to use the Investments product to fetch transaction history from investment accounts. You would then update the array of products that you're initializing with like so:

"PLAID_PRODUCTS": ["transactions", "investments"]

ghernandez-plaid avatar Sep 22 '22 16:09 ghernandez-plaid

@ghernandez-plaid Yes, thank you very much. Yesterday, I have changed it to "["transactions", "investments"]", but nothing has changed. Do I need to re-acquire the access token (I saved it in the database)?

DaLiangLee avatar Sep 23 '22 01:09 DaLiangLee

For the record, you would need to go back through the link flow and re-acquire the token.

phoenixy1 avatar Dec 22 '22 16:12 phoenixy1