Yodlee executeUserSearchRequest错误

时间:2014-02-03 12:35:06

标签: yodlee

我尝试从Yodlee API获取信息。 我有一个测试用户,我已经实现了添加帐户,我从网站上获得了刷新OK:

{ siteRefreshStatus: {
      siteRefreshStatusId: 8
      siteRefreshStatus: "REFRESH_COMPLETED_WITH_UNCERTAIN_ACCOUNT"
  }
  - siteRefreshMode: {
      refreshModeId: 2
      refreshMode: "NORMAL"
  }
  - updateInitTime: 0
     nextUpdate: 1391603301
     code: 403
     noOfRetry: 0
  }
}

现在,当我尝试执行搜索并获取实际交易时,我收到此错误:

{
   errorOccured: "true"
   exceptionType: "com.yodlee.core.IllegalArgumentValueException"
   refrenceCode: "_57c250a9-71e8-4d4b-830d-0f51a4811516"
   message: "Invalid argument value: Container type cannot be null"
}

问题是我有容器类型!

查看我发送的参数:

  

cobSessionToken = 08062013_2%3Ad02590d4474591e507129bf6baaa58e81cd9eaacb5753e9441cd0b1ca3b8bd00a3e6b6a943956e947458307c1bb94b505e2eb4398f890040a3db8c98606c0392&安培; userSessionToken = 08062013_0%3A8e8ef9dd4f294e0f16dedf98c1794b96bf33f2e1f2686eda2f35dfe4901dd3a871eed6d08ce52c99a74deb004c025ebf4bf94c7b17baf8ba18aacb331588f5f5&安培; transactionSearchRequest.containerType =银行&安培; transactionSearchRequest.higherFetchLimit = 1000&安培; transactionSearchRequest.lowerFetchLimit = 1&安培; transactionSearchRequest.resultRange.endNumber = 500安培; transactionSearchRequest.resultRange.startNumber = 1&安培; transactionSearchRequest .searchClients.clientId = 1&安培; transactionSearchRequest.searchClients.clientName = DataSearchService&安培; transactionSearchRequest.ignoreUserInput =真安培; transactionSearchRequest.searchFilter.currencyCode = USD&安培; transactionSearchRequest.searchFilter.postDateRange.fromDate = 2014年1月1日和安培; transactionSearchRequest.searchFilter.postDateRange.toDate = 2014年1月31日&安培; transactionSearchRequest.search过滤器+ .transactionSplitType = ALL_TRANSACTION&安培; transactionSearchRequest.searchFilter.itemAccountId + .identifier = 10008425&安培; transactionSearchRequest.searchClients = DEFAULT_SERVICE_CLIENT

1 个答案:

答案 0 :(得分:0)

添加帐户时出错,可以通过此参数code: 403解释,因此当您调用getItemSummary API时,您将看不到该帐户。如果代码的值为零,则会成功链接帐户。例如code:0。 403是一个错误,表示如果Yodlee的数据代理遇到未处理的用例。因此,对于任何此类错误,您应该使用Yodlee客户服务工具提交服务请求。

要了解有关错误代码的更多信息,请访问 - https://developer.yodlee.com/FAQs/Error_Codes

状态显示为已完成siteRefreshStatus: "REFRESH_COMPLETED_WITH_UNCERTAIN_ACCOUNT",因为添加任何帐户后都会刷新,其中Yodlee的数据代理登录到FI的网站并尝试抓取数据。因此,即使发生错误,此活动的完成也表示为REFRESH_COMPLETED。

  

TranasctionSearch问题 -

我可以看到两个带有“+”符号的参数。由于transactionSlipttype和containerType相互依赖,因此抛出错误。

&transactionSearchRequest.searchFilter+.transactionSplitType=ALL_TRANSACTION
&transactionSearchRequest.searchFilter.itemAccountId+.identifier=10008425

正确的参数是 -

 &transactionSearchRequest.searchFilter.transactionSplitType=ALL_TRANSACTION
 &transactionSearchRequest.searchFilter.itemAccountId.identifier=10008425