Yodlee refresh on an already-active MFA account -
re: yodlee site-based api
a) know when adding mfa account supposed trigger /jsonsdk/refresh/startsiterefresh. if account added , active, , want trigger manual refresh new data, /jsonsdk/refresh/startsiterefresh correct api use?
b) when use /jsonsdk/refresh/startsiterefresh manual refresh, not want trigger whole mfa flow, want pull new data if possible. refreshmode specify "mfa" or "normal"?
i ask this, because used "mfa" mode , failed 522 (timeout) error due new security question. when yodlee runs nightly refresh, same condition result in 506 or 518; not 522. maybe supposed specify "normal" "mfa" accounts manual refresh?
you need not pass refresh mode in startsiterefresh api. when call api siteaccountid response tell if mfa required or not. below fields can used response.
"siterefreshmode":{ "refreshmodeid":1, "refreshmode":"mfa" }
depending on refreshmode can follow mfa flow or normal flow.
when trigger api have flow complete flow latest data or else refresh fail , data not updated.
refer - startsiterefresh api , refresh flow refreshing account.
i ask this, because used "mfa" mode , failed 522 (timeout) error due new security question. when yodlee runs nightly refresh, same condition result in 506 or 518; not 522
this because in case of manual refresh user not answering question asked @ end site , hence our server identifies no response user , hence 522 error code. when it's automatic refresh yodlee's end , new question encountered error code 518.
Comments
Post a Comment