ERROR: Body is undefined. Please file an issue with this. res:{ req:
{ domain: null,
_events: { drain: [Function], error: [Function], response: [Function] },
_maxListeners: 10,
output: [],
outputEncodings: [],
writable: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: true,
sendDate: false,
_headerSent: true,
_header: 'PUT /api/v3/tasks/2f6cee3a-8435-4d2f-863d-203d8724aef7 HTTP/1.1\r\nHost: habitrpg.com\r\nAccept-Encoding: gzip, deflate\r\nCookie: \r\nContent-Type: application/json\r\nx-api-user: U-KEY\r\nx-api-key: T-KEY\r\nAccept: application/json\r\nContent-Length: 210\r\nConnection: close\r\n\r\n',
_hasBody: true,
_trailer: '',
finished: true,
_hangupClose: false,
socket:
{ _readableState: [Object],
readable: false,
domain: null,
_events: [Object],
_maxListeners: 10,
_writableState: [Object],
writable: false,
allowHalfOpen: true,
pair: [Object],
_pending: null,
_pendingEncoding: '',
_pendingCallback: null,
_doneFlag: false,
_retryAfterPartial: false,
_halfRead: false,
_sslOutCb: null,
_resumingSession: false,
_reading: true,
_destroyed: true,
_ended: true,
_finished: true,
_opposite: [Object],
_buffer: [Object],
_handle: [Object],
socket: [Object],
encrypted: [Object],
authorized: true,
_controlReleased: true,
parser: null,
_httpMessage: [Circular],
ondata: null,
onend: null,
npnProtocol: undefined },
connection:
{ _readableState: [Object],
readable: false,
domain: null,
_events: [Object],
_maxListeners: 10,
_writableState: [Object],
writable: false,
allowHalfOpen: true,
pair: [Object],
_pending: null,
_pendingEncoding: '',
_pendingCallback: null,
_doneFlag: false,
_retryAfterPartial: false,
_halfRead: false,
_sslOutCb: null,
_resumingSession: false,
_reading: true,
_destroyed: true,
_ended: true,
_finished: true,
_opposite: [Object],
_buffer: [Object],
_handle: [Object],
socket: [Object],
encrypted: [Object],
authorized: true,
_controlReleased: true,
parser: null,
_httpMessage: [Circular],
ondata: null,
onend: null,
npnProtocol: undefined },
agent: false,
socketPath: undefined,
method: 'PUT',
path: '/api/v3/tasks/2f6cee3a-8435-4d2f-863d-203d8724aef7',
_headers:
{ host: 'habitrpg.com',
'accept-encoding': 'gzip, deflate',
cookie: '',
'content-type': 'application/json',
'x-api-user': 'U-KEY',
'x-api-key': 'T-KEY',
accept: 'application/json',
'content-length': 210 },
_headerNames:
{ host: 'Host',
'accept-encoding': 'Accept-Encoding',
cookie: 'Cookie',
'content-type': 'Content-Type',
'x-api-user': 'x-api-user',
'x-api-key': 'x-api-key',
accept: 'Accept',
'content-length': 'Content-Length' },
parser: null,
res:
{ _readableState: [Object],
readable: false,
domain: null,
_events: [Object],
_maxListeners: 10,
socket: [Object],
connection: [Object],
httpVersion: '1.1',
complete: true,
headers: [Object],
trailers: {},
_pendings: [],
_pendingIndex: 0,
url: '',
method: null,
statusCode: 503,
client: [Object],
_consuming: true,
_dumped: false,
httpVersionMajor: 1,
httpVersionMinor: 1,
upgrade: false,
req: [Circular],
text: '<!DOCTYPE html>\n\t<html>\n\t <head>\n\t\t<meta charset="utf-8">\n\t\t<title>Application Error | Heroku</title>\n\t\t<link rel="shortcut icon" type="image/x-icon" href="https://www.herokucdn.com/favicon.ico">\n\t\t<style media="screen">\n\t\t html,body,iframe {\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t }\n\t\t html,body {\n\t\t\theight: 100%;\n\t\t\toverflow: hidden;\n\t\t }\n\t\t iframe {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tborder: 0;\n\t\t }\n\t\t</style>\n\t </head>\n\t <body>\n\t\t<iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe>\n\t </body>\n\t</html>',
pipe: [Function],
addListener: [Function: addListener],
on: [Function: addListener],
pause: [Function],
resume: [Function],
read: [Function],
body: undefined } },
res:
{ _readableState:
{ highWaterMark: 16384,
buffer: [],
length: 0,
pipes: null,
pipesCount: 0,
flowing: false,
ended: true,
endEmitted: true,
reading: false,
calledRead: true,
sync: true,
needReadable: true,
emittedReadable: false,
readableListening: false,
objectMode: false,
defaultEncoding: 'utf8',
ranOut: false,
awaitDrain: 0,
readingMore: false,
oldMode: true,
decoder: [Object],
encoding: 'utf8' },
readable: false,
domain: null,
_events:
{ end: [Object],
data: [Object],
readable: [Function],
close: [Function],
error: [Function] },
_maxListeners: 10,
socket:
{ _readableState: [Object],
readable: false,
domain: null,
_events: [Object],
_maxListeners: 10,
_writableState: [Object],
writable: false,
allowHalfOpen: true,
pair: [Object],
_pending: null,
_pendingEncoding: '',
_pendingCallback: null,
_doneFlag: false,
_retryAfterPartial: false,
_halfRead: false,
_sslOutCb: null,
_resumingSession: false,
_reading: true,
_destroyed: true,
_ended: true,
_finished: true,
_opposite: [Object],
_buffer: [Object],
_handle: [Object],
socket: [Object],
encrypted: [Object],
authorized: true,
_controlReleased: true,
parser: null,
_httpMessage: [Object],
ondata: null,
onend: null,
npnProtocol: undefined },
connection:
{ _readableState: [Object],
readable: false,
domain: null,
_events: [Object],
_maxListeners: 10,
_writableState: [Object],
writable: false,
allowHalfOpen: true,
pair: [Object],
_pending: null,
_pendingEncoding: '',
_pendingCallback: null,
_doneFlag: false,
_retryAfterPartial: false,
_halfRead: false,
_sslOutCb: null,
_resumingSession: false,
_reading: true,
_destroyed: true,
_ended: true,
_finished: true,
_opposite: [Object],
_buffer: [Object],
_handle: [Object],
socket: [Object],
encrypted: [Object],
authorized: true,
_controlReleased: true,
parser: null,
_httpMessage: [Object],
ondata: null,
onend: null,
npnProtocol: undefined },
httpVersion: '1.1',
complete: true,
headers:
{ connection: 'close',
server: 'Cowboy',
date: 'Sat, 19 Nov 2016 00:55:25 GMT',
'content-length': '538',
'content-type': 'text/html; charset=utf-8',
'cache-control': 'no-cache, no-store' },
trailers: {},
_pendings: [],
_pendingIndex: 0,
url: '',
method: null,
statusCode: 503,
client:
{ _readableState: [Object],
readable: false,
domain: null,
_events: [Object],
_maxListeners: 10,
_writableState: [Object],
writable: false,
allowHalfOpen: true,
pair: [Object],
_pending: null,
_pendingEncoding: '',
_pendingCallback: null,
_doneFlag: false,
_retryAfterPartial: false,
_halfRead: false,
_sslOutCb: null,
_resumingSession: false,
_reading: true,
_destroyed: true,
_ended: true,
_finished: true,
_opposite: [Object],
_buffer: [Object],
_handle: [Object],
socket: [Object],
encrypted: [Object],
authorized: true,
_controlReleased: true,
parser: null,
_httpMessage: [Object],
ondata: null,
onend: null,
npnProtocol: undefined },
_consuming: true,
_dumped: false,
httpVersionMajor: 1,
httpVersionMinor: 1,
upgrade: false,
req:
{ domain: null,
_events: [Object],
_maxListeners: 10,
output: [],
outputEncodings: [],
writable: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
useChunkedEncodingByDefault: true,
sendDate: false,
_headerSent: true,
_header: 'PUT /api/v3/tasks/2f6cee3a-8435-4d2f-863d-203d8724aef7 HTTP/1.1\r\nHost: habitrpg.com\r\nAccept-Encoding: gzip, deflate\r\nCookie: \r\nContent-Type: application/json\r\nx-api-user: U-KEY\r\nx-api-key: T-KEY\r\nAccept: application/json\r\nContent-Length: 210\r\nConnection: close\r\n\r\n',
_hasBody: true,
_trailer: '',
finished: true,
_hangupClose: false,
socket: [Object],
connection: [Object],
agent: false,
socketPath: undefined,
method: 'PUT',
path: '/api/v3/tasks/2f6cee3a-8435-4d2f-863d-203d8724aef7',
_headers: [Object],
_headerNames: [Object],
parser: null,
res: [Circular] },
text: '<!DOCTYPE html>\n\t<html>\n\t <head>\n\t\t<meta charset="utf-8">\n\t\t<title>Application Error | Heroku</title>\n\t\t<link rel="shortcut icon" type="image/x-icon" href="https://www.herokucdn.com/favicon.ico">\n\t\t<style media="screen">\n\t\t html,body,iframe {\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t }\n\t\t html,body {\n\t\t\theight: 100%;\n\t\t\toverflow: hidden;\n\t\t }\n\t\t iframe {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tborder: 0;\n\t\t }\n\t\t</style>\n\t </head>\n\t <body>\n\t\t<iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe>\n\t </body>\n\t</html>',
pipe: [Function],
addListener: [Function: addListener],
on: [Function: addListener],
pause: [Function],
resume: [Function],
read: [Function],
body: undefined },
links: {},
text: '<!DOCTYPE html>\n\t<html>\n\t <head>\n\t\t<meta charset="utf-8">\n\t\t<title>Application Error | Heroku</title>\n\t\t<link rel="shortcut icon" type="image/x-icon" href="https://www.herokucdn.com/favicon.ico">\n\t\t<style media="screen">\n\t\t html,body,iframe {\n\t\t\tmargin: 0;\n\t\t\tpadding: 0;\n\t\t }\n\t\t html,body {\n\t\t\theight: 100%;\n\t\t\toverflow: hidden;\n\t\t }\n\t\t iframe {\n\t\t\twidth: 100%;\n\t\t\theight: 100%;\n\t\t\tborder: 0;\n\t\t }\n\t\t</style>\n\t </head>\n\t <body>\n\t\t<iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe>\n\t </body>\n\t</html>',
body: undefined,
files: {},
buffered: true,
headers:
{ connection: 'close',
server: 'Cowboy',
date: 'Sat, 19 Nov 2016 00:55:25 GMT',
'content-length': '538',
'content-type': 'text/html; charset=utf-8',
'cache-control': 'no-cache, no-store' },
header:
{ connection: 'close',
server: 'Cowboy',
date: 'Sat, 19 Nov 2016 00:55:25 GMT',
'content-length': '538',
'content-type': 'text/html; charset=utf-8',
'cache-control': 'no-cache, no-store' },
statusCode: 503,
status: 503,
statusType: 5,
info: false,
ok: false,
redirect: false,
clientError: false,
serverError: true,
error:
{ [Error: cannot PUT /api/v3/tasks/2f6cee3a-8435-4d2f-863d-203d8724aef7 (503)]
status: 503,
method: 'PUT',
path: '/api/v3/tasks/2f6cee3a-8435-4d2f-863d-203d8724aef7' },
accepted: false,
noContent: false,
badRequest: false,
unauthorized: false,
notAcceptable: false,
forbidden: false,
notFound: false,
charset: 'utf-8',
type: 'text/html',
setEncoding: [Function],
redirects: [] }