我试图用虚拟帐户DagBankTokenFMPA测试Yodlee中的MFA。我让MFA超时,现在每次,我尝试刷新我得到了同样的错误:
{"siteRefreshStatus":{"siteRefreshStatusId":10,"siteRefreshStatus":"SITE_CANNOT_BE_REFRESHED"},"siteRefreshMode":{"refreshModeId":1,"refreshMode":"MFA"},"updateInitTime":0,"nextUpdate":2047149073,"code":522,"suggestedFlowReason":{"suggestedFlowReasonId":2,"suggestedFlowReason":"ACCOUNT_IN_ERROR"},"suggestedFlow":{"suggestedFlowId":3,"suggestedFlow":"EDIT"},"itemRefreshInfo":[{"memItemId":10088102,"itemSuggestedFlow":{"suggestedFlowId":3,"suggestedFlow":"EDIT"},"itemSuggestedFlowReason":{"suggestedFlowReasonId":2,"suggestedFlowReason":"ACCOUNT_IN_ERROR"},"errorCode":522,"retryCount":1}],"noOfRetry":1,"isMFAInputRequired":true}
我该怎样防止这种情况?我是否需要使用stopRefresh停止刷新并重新开始?
答案 0 :(得分:0)
在这种情况下,您需要调用updateSiteAccountCredentials API并再次传递详细信息,这将触发刷新,然后您需要调用getMFAResponseForSite以查看银行需要哪些MFA信息。
要添加更多内容,您似乎在这里混合了两组API。我们建议使用基于容器的API或基于站点的API集,以及两者共有的核心API。