question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Review query error only on graph api

See original GitHub issue

I 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:closed
  • Created 6 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mittonkcommented, Jul 14, 2017

@fmello-cit : Fixed!

{
  b2: reviews(business: "veridiana-são-paulo-2") {
    total
    review {
      rating
      text
      user {
        name
        image_url
      }
    }
  }
}
{
  "data": {
    "b2": {
      "total": 32,
      "review": [...

You don’t need to manually encode ã as \u00E3 any more.

Thanks for reporting this!

1reaction
mittonkcommented, Jun 12, 2017

@fmello-cit : Definitely a bug, we’ll look into it!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Resolve Microsoft Graph authorization errors
Verify that you have requested the correct set of permissions based on the Microsoft Graph APIs your app calls.
Read more >
Error when extracting comments in my facebook page through ...
I'm trying to extract comments in my facebook page. For that I made a Facebook graph app. I can extract the comments in...
Read more >
Graph API Explorer Guide - Meta for Developers
The Graph API Explorer tool allows you to construct and perform Graph API queries and see their responses for any apps on which...
Read more >
Microsoft Graph Security API error 400: 'Invalid ODATA query ...
The secondary error message identifies the query includes an incorrect filter value and returns an HTTP 400 (Bad Request) error. Bad Request ...
Read more >
Error messages - Resource Manager - Google Cloud
The request failed because it contained an invalid parameter or parameter value. Review the API documentation to determine which parameters are valid for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found