No Challenge session id or Challenge node id in discoverAndAddAccounts() in API explorer

空扰寡人 提交于 2019-12-24 16:17:53

问题


I've tried to add a CIBC account using the API explorer interface. I've got back a 401 response with response body specifying a challenge. However, in the response header, there is only "content-length", no challenge session id or challenge node id as expected. Did I miss something?


回答1:


It seems, there is an UI bug in the CAD ApiExplorer. It is not returning the challange nodeId and sessionId. It should be fixed soon.

Ideally this 'DiscoverAndAddAccounts' API call returns a response like following.

In the mean time, you can try this call using java/.net devkit

Ref code(java) - https://github.com/IntuitDeveloperRelations/IPP_Sample_Code/blob/master/CustomerAccountData/Java/AggCatSampleApplication/src/main/java/com/intuit/aggcat/AggCatApiController.java

[Method - discoverAndAddAccounts(HttpServletRequest request, Model model)]

[ For CC_Bank use 'tfa_text2' as userid and 'anyvalue' as pwd]

Devkit and Sample App Link - https://developer.intuit.com/docs/0020_customeraccountdata/devkits

Thanks




回答2:


This is a valid bug in ApiExplorer and will be fixed as part of the aug 23rd patch. Sorry about the inconvenience. Like mentioned ,in the interim, you can use one of the sdk's.



来源:https://stackoverflow.com/questions/17305204/no-challenge-session-id-or-challenge-node-id-in-discoverandaddaccounts-in-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!