• Elodie CANTREL
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
I'm trying to send a query to wave using a curl post, and when i'm using the example from the wave dev doc, I've got a error i dn't understand
{
   "query":"q = load \"*******wave********/********id********\"; q = group q by 'FirstName' ; q = foreach q generate 'FirstName' as 'FirstName', count() as 'count';"
}

=> [{"errorCode":"JSON_PARSER_ERROR","message":"Unexpected character ('q' (code 97)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [line:1, column:2]"}]0
Does some one have an idea why it doesn't want the 'q' ?
(the json is valid when i'm testing it thought http://jsonlint.com/)

Thx