Review query error only on graph api
See original GitHub issueI am trying to get reviews using this query:
{ b1: reviews(business: "el-burrito-express-2-san-francisco") { total review { rating text user { name image_url } } } b2: reviews(business: "veridiana-são-paulo-2") { total review { rating text user { name image_url } } } }
And I am getting a lot of html code with errors. However, if I use this query:
{ b1: reviews(business: "el-burrito-express-2-san-francisco") { total review { rating text user { name image_url } } } b2: reviews(business: "kung-food-san-francisco") { total review { rating text user { name image_url } } } }
It works. Note that I only changed the business id of the second query. I think this may be related to special chars on “são-paulo”. I also tried to encode as url, no success. Initially I thought it has something to do with the country, but, using another brazilian city without accent, like “pizza-hut-campinas”, it also works.
What can I do? Or this is a known issue?
Thanks.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (5 by maintainers)
@fmello-cit : Fixed!
You don’t need to manually encode
ã
as\u00E3
any more.Thanks for reporting this!
@fmello-cit : Definitely a bug, we’ll look into it!