Dwolla masspay:解析错误



发送到masspay API时收到错误:

curl -X POST -H "Content-Type: application/json" -d '{"oauth_token":"", "pin":1234, "email":"", "filedata":"", "test":"true"}' https://masspay.dwollalabs.com/api/create/

接收:

TypeError: Not a string or buffer
at Object.module.exports.encrypt (/app/lib/utils.js:11:30)
at module.exports (/app/controllers/api.js:209:23)
at callbacks (/app/node_modules/express/lib/router/index.js:272:11)
at param (/app/node_modules/express/lib/router/index.js:246:11)
at pass (/app/node_modules/express/lib/router/index.js:253:5)
at Router._dispatch (/app/node_modules/express/lib/router/index.js:280:5)
at Object.middleware [as handle] (/app/node_modules/express/lib/router/index.js:45:10)
at next (/app/node_modules/express/node_modules/connect/lib/http.js:204:15)
at IncomingMessage.exports.parse.application/json (/app/node_modules/express/node_modules/connect/lib/middleware/bodyParser.js:137:7)
at IncomingMessage.EventEmitter.emit (events.js:93:17)

API是否有问题,或者我在发送的内容中是否有问题?

哎呀,看起来这是由我们这边的错误引起的!的歉意。我们刚刚推出了一个修复方案,你能再试一次吗?

谢谢你发现这个,我们很感激。

相关内容

  • 没有找到相关文章

最新更新