A newer version of this documentation is available.

View Latest

Service Error

  • concept
    +

    A service error means there is a problem that prevents the request being fulfilled:

    Request
    curl -v http://localhost:8093/query/service \
         -d "statement=SELECT text FROM tweets LIMIT 1"
    Response
         $lt; HTTP/1.1 503 Service Unavailable
         {
         "requestID": "5c0a6a81-2fc8-4a33-a035-ed7fb1512710",
         "errors": [
         {
         "code": <int>,
         "msg": "Request queue full"
         }],
         "status": "errors",
         "metrics": {
         "elapsedTime": "134.7944us",
         "executionTime": "130.5518us",
         "resultCount": 0,
         "resultSize": 0,
         "mutationCount": 0,
         "errorCount": 1,
         "warningCount": 0
         }
         }
         $