-
Notifications
You must be signed in to change notification settings - Fork 172
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 when creating a new plaid Client object #345
Comments
I've figured it out. In the /lib/PlaidClient.js the function params don't match what's in the example and getting started pages. Instead of passing an object, it takes four strings and an options object. function Client(client_id, secret, public_key, env, options) {
... I was getting this error because plaid was finding the secret param nil. If someone could update the README it'd be useful for future people. |
What is supposed to be the My init looks like this:
The
So it seems that it should be fine in my case, but it is not. Edit: I changed it to not have an object anymore.
Now it says invalide Plaid env Edit 2: I changed even here it says that I do the thing right 😅 https://plaid.com/docs/link/link-token-migration-guide/ |
Alright, the solution is to actually use what the documentation says.
And to be sure you are using at least the version 7.0.0. |
i am getting the exact same error, any form of help would be really appreciated, very close to my deadline for this one, please help !! |
I'm running plaid in a node.js 10 environment, in a GCP cloud function. When using the sandbox, my initialization went fine. But, now that I've moved into development mode, the initialization throws this error:
Here's the code I'm using to make the Client object. I've made sure each variable is giving a valid string with the correct secrets and everything.
The text was updated successfully, but these errors were encountered: