My Plaid token seems to stop working very quickly. How can I have my token work all the time?
the login details of this item have changed (credentials, MFA, or required user action) and a user login is required to update this information. use Link's update mode to restore the item to a good state
From "https://production.plaid.com/accounts/balance/get"
I am trying to get the account balance with the access token key that I have saved in my database.
I am trying to do this in the Production environment.
It works perfectly for the first few hours but after like a day or so I get this error message.
{
"display_message": "The user’s OAuth connection to this institution has been invalidated.",
"error_code": "ITEM_LOGIN_REQUIRED",
"error_code_reason": "OAUTH_INVALID_TOKEN",
"error_message": "the login details of this item have changed (credentials, MFA, or required user action) and a user login is required to update this information. use Link's update mode to restore the item to a good state",
"error_type": "ITEM_ERROR",
"request_id": "x2sgJeKZwNqczNS",
"suggested_action": null
}
Assuming you know for sure that nobody is intentionally revoking access to this account (e.g. via the my.plaid.com portal), I'd recommend filing a Plaid support ticket including the details you provided -- it doesn't look like there's anything obvious you're doing wrong here, and this could be a symptom of an integration issue between Plaid and the bank.