Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

No definition for table quote #1

Closed
7AC opened this issue Sep 21, 2017 · 0 comments
Closed

No definition for table quote #1

7AC opened this issue Sep 21, 2017 · 0 comments

Comments

@7AC
Copy link

7AC commented Sep 21, 2017

Running the script results in:

[Thu Sep 21 2017 11:32:56 GMT-0700 (PDT)] ERROR TypeError: Cannot read property 'results' of undefined                 
    at parseQuoteForSymbol (/Users/gvalente/src/hubot/node_modules/hubot-stocks/src/service/stock.coffee:12:27)                                                                                                                               
    at /Users/gvalente/src/hubot/node_modules/hubot-stocks/src/service/stock.coffee:45:19
    at /Users/gvalente/src/hubot/node_modules/hubot-stocks/src/service/stock.coffee:9:5
    at IncomingMessage.<anonymous> (/Users/gvalente/src/hubot/node_modules/scoped-http-client/src/index.js:95:22)      
    at emitNone (events.js:110:20)                                                                                     
    at IncomingMessage.emit (events.js:207:7)              
    at endReadableNT (_stream_readable.js:1059:12)         
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Which is due to the server returning

{ error:                                                   
   { lang: 'en-US',                                        
     description: 'No definition found for Table yahoo.finance.quote' } }
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