Created
May 17, 2017 11:22
-
-
Save ldco2016/4a5d93380f271f8fbc66ee17b04b5979 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| danales-MacBook-Pro:iris danale$ node bin/run.js | |
| Logged in as microurb of team urban-farming, but not yet connected to a channel | |
| iris is listening on 3000 in development mode. | |
| { Error: Internal Server Error | |
| at Request.callback (/Users/danale/Projects/iris/node_modules/superagent/lib/node/index.js:675:11) | |
| at /Users/danale/Projects/iris/node_modules/superagent/lib/node/index.js:883:18 | |
| at IncomingMessage.<anonymous> (/Users/danale/Projects/iris/node_modules/superagent/lib/node/parsers/json.js:16:7) | |
| at emitNone (events.js:91:20) | |
| at IncomingMessage.emit (events.js:185:7) | |
| at endReadableNT (_stream_readable.js:974:12) | |
| at _combinedTickCallback (internal/process/next_tick.js:74:11) | |
| at process._tickCallback (internal/process/next_tick.js:98:9) | |
| status: 500, | |
| response: | |
| Response { | |
| domain: null, | |
| _events: {}, | |
| _eventsCount: 0, | |
| _maxListeners: undefined, | |
| res: | |
| IncomingMessage { | |
| _readableState: [Object], | |
| readable: false, | |
| domain: null, | |
| _events: [Object], | |
| _eventsCount: 4, | |
| _maxListeners: undefined, | |
| socket: [Object], | |
| connection: [Object], | |
| httpVersionMajor: 1, | |
| httpVersionMinor: 1, | |
| httpVersion: '1.1', | |
| complete: true, | |
| headers: [Object], | |
| rawHeaders: [Object], | |
| trailers: {}, | |
| rawTrailers: [], | |
| upgrade: false, | |
| url: '', | |
| method: null, | |
| statusCode: 500, | |
| statusMessage: 'Internal Server Error', | |
| client: [Object], | |
| _consuming: true, | |
| _dumped: false, | |
| req: [Object], | |
| text: '{"error":"Bad auth, check token\\/params","code":"no-auth"}', | |
| read: [Function] }, | |
| request: | |
| Request { | |
| domain: null, | |
| _events: {}, | |
| _eventsCount: 0, | |
| _maxListeners: undefined, | |
| _agent: false, | |
| _formData: null, | |
| method: 'GET', | |
| url: 'https://api.wit.ai/message', | |
| _header: [Object], | |
| header: [Object], | |
| writable: true, | |
| _redirects: 0, | |
| _maxRedirects: 5, | |
| cookies: '', | |
| qs: [Object], | |
| qsRaw: [], | |
| _redirectList: [], | |
| _streamRequest: false, | |
| req: [Object], | |
| protocol: 'https:', | |
| host: 'api.wit.ai', | |
| _endCalled: true, | |
| _callback: [Function], | |
| res: [Object], | |
| response: [Circular], | |
| called: true }, | |
| req: | |
| ClientRequest { | |
| domain: null, | |
| _events: [Object], | |
| _eventsCount: 3, | |
| _maxListeners: undefined, | |
| output: [], | |
| outputEncodings: [], | |
| outputCallbacks: [], | |
| outputSize: 0, | |
| writable: true, | |
| _last: true, | |
| upgrading: false, | |
| chunkedEncoding: false, | |
| shouldKeepAlive: false, | |
| useChunkedEncodingByDefault: false, | |
| sendDate: false, | |
| _removedHeader: {}, | |
| _contentLength: 0, | |
| _hasBody: true, | |
| _trailer: '', | |
| finished: true, | |
| _headerSent: true, | |
| socket: [Object], | |
| connection: [Object], | |
| _header: 'GET /message?v=20170515&q=How%20late%20is%20it%20in%20Phoenix%3F HTTP/1.1\r\nHost: api.wit.ai\r\nAccept-Encoding: gzip, deflate\r\nUser-Agent: node-superagent/3.5.2\r\nAuthorization: BearerNVPSJJXAYFF73ZEU3CN3WRBYPB42SX2L\r\nConnection: close\r\n\r\n', | |
| _headers: [Object], | |
| _headerNames: [Object], | |
| _onPendingData: null, | |
| agent: [Object], | |
| socketPath: undefined, | |
| timeout: undefined, | |
| method: 'GET', | |
| path: '/message?v=20170515&q=How%20late%20is%20it%20in%20Phoenix%3F', | |
| _ended: true, | |
| parser: null, | |
| res: [Object] }, | |
| text: '{"error":"Bad auth, check token\\/params","code":"no-auth"}', | |
| body: { error: 'Bad auth, check token/params', code: 'no-auth' }, | |
| files: undefined, | |
| buffered: true, | |
| headers: | |
| { 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" ""', | |
| 'access-control-allow-origin': '*', | |
| pragma: 'no-cache', | |
| 'cache-control': 'no-store', | |
| 'x-fb-rev': '3022832', | |
| 'content-type': 'application/json; charset=UTF-8', | |
| 'x-fb-trace-id': 'H/hsqQWkgcb', | |
| expires: 'Sat, 01 Jan 2000 00:00:00 GMT', | |
| 'x-fb-debug': 'LkidYYaphGaNNli8xtz3WphUftEb+XheSgI1ZsPfWuiaspgaFMZWfDaNLwPCygI6PM51+0tGxohlG79cx6sMIQ==', | |
| date: 'Tue, 16 May 2017 03:11:12 GMT', | |
| connection: 'close', | |
| 'content-length': '58' }, | |
| header: | |
| { 'www-authenticate': 'OAuth "Facebook Platform" "invalid_request" ""', | |
| 'access-control-allow-origin': '*', | |
| pragma: 'no-cache', | |
| 'cache-control': 'no-store', | |
| 'x-fb-rev': '3022832', | |
| 'content-type': 'application/json; charset=UTF-8', | |
| 'x-fb-trace-id': 'H/hsqQWkgcb', | |
| expires: 'Sat, 01 Jan 2000 00:00:00 GMT', | |
| 'x-fb-debug': 'LkidYYaphGaNNli8xtz3WphUftEb+XheSgI1ZsPfWuiaspgaFMZWfDaNLwPCygI6PM51+0tGxohlG79cx6sMIQ==', | |
| date: 'Tue, 16 May 2017 03:11:12 GMT', | |
| connection: 'close', | |
| 'content-length': '58' }, | |
| statusCode: 500, | |
| status: 500, | |
| statusType: 5, | |
| info: false, | |
| ok: false, | |
| redirect: false, | |
| clientError: false, | |
| serverError: true, | |
| error: | |
| { Error: cannot GET /message?v=20170515&q=How%20late%20is%20it%20in%20Phoenix%3F (500) | |
| at Response.toError (/Users/danale/Projects/iris/node_modules/superagent/lib/node/response.js:94:13) | |
| at ResponseBase._setStatusProperties (/Users/danale/Projects/iris/node_modules/superagent/lib/response-base.js:122:16) | |
| at new Response (/Users/danale/Projects/iris/node_modules/superagent/lib/node/response.js:40:8) | |
| at Request._emitResponse (/Users/danale/Projects/iris/node_modules/superagent/lib/node/index.js:738:20) | |
| at /Users/danale/Projects/iris/node_modules/superagent/lib/node/index.js:883:38 | |
| at IncomingMessage.<anonymous> (/Users/danale/Projects/iris/node_modules/superagent/lib/node/parsers/json.js:16:7) | |
| at emitNone (events.js:91:20) | |
| at IncomingMessage.emit (events.js:185:7) | |
| at endReadableNT (_stream_readable.js:974:12) | |
| at _combinedTickCallback (internal/process/next_tick.js:74:11) | |
| at process._tickCallback (internal/process/next_tick.js:98:9) | |
| status: 500, | |
| text: '{"error":"Bad auth, check token\\/params","code":"no-auth"}', | |
| method: 'GET', | |
| path: '/message?v=20170515&q=How%20late%20is%20it%20in%20Phoenix%3F' }, | |
| accepted: false, | |
| noContent: false, | |
| badRequest: false, | |
| unauthorized: false, | |
| notAcceptable: false, | |
| forbidden: false, | |
| notFound: false, | |
| type: 'application/json', | |
| charset: 'UTF-8', | |
| links: {}, | |
| setEncoding: [Function: bound ], | |
| redirects: [] } } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment