0

YQL finance gets null in results

I'm just using one of the sample datatables in the YQL console. The YQL statement is select * from yahoo.finance.stock where symbol="yhoo"

Why am I get null in the results?

Link to YQL console with the YQL statement

by
1 Reply
  • Hi Tony,

    The reason why you're getting null results is because there's a Javascript execute error:
     
    <javascript><![CDATA[Error: double default label in the switch statement<javascript>:180:    default:^]]></javascript>
    <javascript><![CDATA[Error: invalid return<javascript>:191:return ^true;]]></javascript>
    <javascript><![CDATA[Error: syntax error<javascript>:192:  }^]]></javascript>
    <javascript><![CDATA[Exception: Compilation produced 3 syntax errors. (<javascript>#1)]]></javascript>
    

    Unfortunately, there's not much I can do to help you with this issue because these tables are not official YQL tables.
    0

Recent Posts

in YQL