Errors and HTTP Response Codes
The YQL Web Service returns the following HTTP response codes:
- 200 OK - The YQL statement executed successfully. If the YQL statement is
syntactically correct and if authorization succeeds, it returns 200 OK even if the calls to
back-end data services return 400 or 500 errors. Information about these back-end errors is
in the
diagnosticselement of the response from YQL. - 400 Bad Request - Malformed syntax or bad query. This error occurs if the WHERE clause
does not include a required input key. The XML
errorelement includes a text description of the error. In the YQL Console, the error description appears in a highlighted bar. - 401 Authorization Required - The user running the application calling YQL is not authorized to access private data. This error also occurs if the user attempts to access his or her own private data without logging in to Yahoo!.

