I have just login to Yodlee platform and exploring the API, I have gone through the quick start and test drive, now I'm getting the InvalidSearchIdentifierException when I'm just using default values provided by test drive sample app. The error shown is
{
"errorOccurred": "true",
"exceptionType": "com.yodlee.core.transactionsearch.exceptions.InvalidSearchIdentifierException",
"referenceCode": "_47ee0b3c-ea92-4a7a-9ba7-0a02bad49d47",
"message": "Invalid argument value: com.yodlee.core.transactionsearch.TransactionSearchIdentifier#21d77397"
}
but according to the documentaion the search identifier is 192168210225-1377612242609--1002083317-TX_SEARCH mentioned in link
please anybody tell me why I'm getting this error
anyway testdrive app is here
You are using getUserTransactions API, so I assume you want to get user's transactions. You should be using excuteUserSearchRequest API to get the user's transactions, getUserTransactions API should be used when you user has more than 500 transactions as excuteUserSearchRequest API returns transactions in batches of 500. For more details refer this.
Related
I am trying to retrieve the results of a completed Google survey. Using this url/resource per the google docs: I get the same error when attempting through the Google playground.
Get: https://www.googleapis.com/consumersurveys/v2/surveys/{my surveyurlID}/results.
I get the following error:
"domain": "global",
"reason": "INVALID_VALUE",
"message": "Invalid Value supplied to API:
Authentication token is same as used to get the survey meta data ( which works).
Not sure what value is invalid. Any help appreciated.
Unfortunately, the "try it now" widget doesn't support media downloads and we currently only provide the results as an excel file.
In order to get the results you'll need to specify a media type in your request. You can do so with the following endpoint:
GET https://www.googleapis.com/consumersurveys/v2/surveys/survey_id/results?alt=media
I would recommend using an OAuth 2 library to authenticate and then accessing the above endpoint.
We'll work on improving the documentation and clarifying this.
Thanks for bringing this to our attention.
I'm using the http://developer.yodlee.com/TestDrive developer Test API module and using one of the 5 dummy accounts provided by Yodlee, For a particular user I have managed to add a dummy DAG bank account and one real bank account which is visible in getAllSiteAccounts details Api so its obvious that site have been added.
But while using the getUserTransactions API I'm getting error
{
"errorOccurred": "true",
"exceptionType": "com.yodlee.core.transactionsearch.exceptions.InvalidSearchIdentifierException",
"referenceCode": "_567afa0b-9d5a-4fb4-9db1-afd4f43c39c2",
"message": "Invalid argument value: com.yodlee.core.transactionsearch.TransactionSearchIdentifier#2ad082d0"
}
I also tried using the executeUserSearchRequest still didn't get any transaction details
{
"searchIdentifier": {},
"numberOfHits": 0
}
Can you please guide me If I'm using the API's correctly ?
You should use executeUserSearchRequest API to get the transactions. You should check the date range you have provided while searching for transactions and also try to remove itemAccountId.identifier and then search, you should get the transactions.
I'm having the same issue the only difference though is that I don't have any issues on DAG accounts, but when I used our production account I can't get the user transactions. I was reading this post Get all user transactions with executeUserSearchRequest and I guess the solution is to make sure that your server/code have the same timezone configuration.
I'm using yodlee live API to link the bank transaction details.
Invalid bank account details accepts, when we add new site account in yodlee via live API, For example, the the account details like xxxxx and yyyyy, then the account added successful.
It's normal or any settings to be turned on in yodlee account or API parameters?
How can i validate the account details? while user add new site account?
Thanks in advance.
Though Yodlee accepts the invalid details/credentials, the account would fail. This would be represented by an Error code such as 402, which would mean that the credentials are wrong.
This is normal setting and teh only way you can validate if the details are right is by checking the status of the account. The error code should be "0" if everything is right.
Hope this helps. You can get more details on error codes under different scenarios #Error Code
Hope this helps
-Vijay
In short: Yodlee doesn't know the username/password entered during add account are correct or not; it has to validate the same with Bank website.
To explain you the process:
When you are adding a particular Bank account, you provides the username/password(it may be correct or incorrect) Yodlee doesn't know and can't validate at the time of submission. Yodlee takes the inputs(username/password) and submits the same to the Bank website(which consumer had selected); meanwhile you'll receive a response from API- addSiteAccount1, which will have the code as 801 (Refresh Never Done and Yodlee is going to update your account).
Once Bank website validate the same and found them incorrect Yodlee return 402 error code(invalid credentials), you need to call getSiteRefreshInfo API to check the same in loops each of 3-4sec.
While linking one of our bank account from HDFC bank india we see an error message stating :
ERROR : 401 : HDFC Bank (India) - Bank and Credit Card
As part of our internal proactive monitoring initiative, we have observed that agent is failing with 401 because loginpost URL timed out.
Let me know does these banks are not supported within yodlee or is there any access restriction.
Besides this API accepts invalid login too and returns has site(bank name) added successfully.
Let me know how to solve these problems
Thanks In Advance.
This error comes when Yodlee is not able to connect with the Bank website in a defined time frame. This could happen due to various reasons,one of basic reason is that Site is taking too much time to load or open login page.
For your reference here is the details about different error codes.
On your second question: Where you have mentioned that this API takes invalid login credentials as well.
To explain you the process- You'll provide the credentials(whether correct or incorrect) to this API, then Yodlee uses those credentials and try to login at the bank website while if site says that the credentials are invalid Yodlee returns the respective error code and message. Hope this helps.
Currently, I am making the following POST call:
https://rest.developer.yodlee.com/services/srest/restserver/v1.0/authenticate/coblogin?cobrandLogin=sbCobFoo&cobrandPassword=Bar
(Note that I inserted a fake login and password for the purpose of this post). I am getting the following response:
{"Error":[{"errorDetail":"The account for user sbCobFoo is locked"}]}
I wasn't able to find anything in the Yodlee documentation, other than that this error represents CobrandUserAccountLockedException. Has any one encountered this error and/or know how to resolve it (i.e. unlock my account)?
You will need to reach out to your Yodlee Customer Service representative to get your credentials unlocked. Yodlee does not provide any API to unlock user/cobrand account(s).