Query syntax error: no viable alternative at character

Hi all,

Having some issues with what appears to be text formatting when posting text to the content analysis api. Is there any guidelines anywhere on what characters or formatting the API does not like? Im stripping all quotes from the text as that seemed to throw errors but im now seeing the same errors for seemingly normal looking characters:

stdClass Object ( [error] => stdClass Object ( [lang] => en-US [description] => Query syntax error(s) [line 2:13 no viable alternative at character 'o',line 7:7 no viable alternative at character 'a'] )


The character at position 13 is the space before the letter o below:

concensus is on

and same again on position 7 of the following line:

Ren is alone

Any ideas or suggestions are much appreciated!



0 Replies

Recent Posts

in YQL