Search code examples
yodlee

Not able to get User Transaction details from Yodlee API


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 ?


Solution

  • 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.