What are the expected codes and meanings for siteRefreshInfo.code?

214 Views Asked by At

In issuing either a getSiteRefreshInfo or getMFAResponseForSite, what are the possible values for code?

2

There are 2 best solutions below

2
On

You can check the below article on the Yodlee's dev portal for parameters

https://developer.yodlee.com/Indy_FinApp/Aggregation_Services_Guide/REST_API_Reference/getMFAResponseForSite

And

https://developer.yodlee.com/Indy_FinApp/Aggregation_Services_Guide/REST_API_Reference/getSiteRefreshInf

Also did you mean what type of error codes these APIs will return?

0
On

I've learned that the getSiteRefreshInfo request may response with any of the error codes listed in https://developer.yodlee.com/FAQs/Error_Codes, so your code must account for these. You may stop looping your web service calls when the JSON response "code" element is 0 (success) or one of the failure values listed in the link above.