Skip to content
This repository has been archived by the owner on Sep 2, 2020. It is now read-only.

Error when using bulk route #467

Open
danharel opened this issue Oct 24, 2014 · 0 comments
Open

Error when using bulk route #467

danharel opened this issue Oct 24, 2014 · 0 comments

Comments

@danharel
Copy link

It appears I'm still not able to get a webhook for some badges when issuing multiple badges, even after implementing the bulk route. I'm consistently only able to send a maximum of 6 badges. The other badges just drop off. I believe this is the response printed by the API corresponding to this erroneous functionality:

{
"name":"badgekit-api",
"hostname":<redacted>,
"pid":2,
"level":50,
"err":{
    "message":"socket hang up",
    "name":"Error",
    "stack":"Error: socket hang up\n    at createHangUpError (http.js:1476:15)\n    at Socket.socketOnEnd (http.js:1572:23)\n    at Socket.g (events.js:180:16)\n    at Socket.emit (events.js:117:20)\n    at _stream_readable.js:943:16\n    at process._tickDomainCallback (node.js:463:13)",
    "code":"ECONNRESET"
}, 
"msg":"error dealing with webhooks when awarding badge",
"time":"2014-10-10T16:09:40.204Z",
"v":0
}

Has anybody else had a similar experience? Does anybody know what the problem may be?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant