格子MFA响应不正确

时间:2014-04-01 20:39:17

标签: webhooks plaid

我在回答“bofa”的三个问题时正在测试用户流程。我试图模拟一个用户,他将错误答案放入通过Plaid传递给他们的问题中。

我的原始POST就像

 "POST /connect/step?client_id=blah&secret=blah&mfa=1again&access_token=XYZ&type=bofa&options[webhook]=http%3A%2F%2Fx.y.zom%2Fplaid_webhook%2Fantennas HTTP/1.1\r\nConnection: close\r\nHost: tartan.plaid.com\r\nContent-Length: 0\r\nContent-Type: application/x-www-form-urlencoded\r\n\r\n"

注意我的错误答案(“1again”而非“再次”),但也注意到存在访问令牌(“XYZ”),这是正确的。

这是回复

-> "HTTP/1.1 400 Bad Request\r\n"
 -> "Content-Type: application/json; charset=utf-8\r\n"
 -> "Date: Wed, 19 Mar 2014 20:20:20 GMT\r\n"
 -> "X-Powered-By: Express\r\n"
 -> "Content-Length: 144\r\n"
 -> "Connection: Close\r\n"
 -> "\r\n"
 reading 144 bytes...
 -> "{\"code\":1000,\"message\":\"access_token missing\",\"resolve\":\"You need to include the access_token that you received from the original submit call.\"}"

1 个答案:

答案 0 :(得分:2)

现在,沙滩箱中的mfa用户流应该可以顺利运行!如果你使用" 1again" (例如)而不是正确的响应"再次",您将收到相应的错误代码响应:

{"code":1203,"message":"invalid mfa","resolve":"The MFA response provided was not correct."}