Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Custom connector Query problem

I am trying to get a custom connector to work but I am gettingthe following error.


My original default query is being apended by flow. How can I fix this issue where my query does not get apended?

My query is inside of the Body.


Any help will be apreciated. 



Original Query: {"query":"query getCommunities {\n  communities(clientName: \"123\", active: true) {\n    id\n    name\n  }\n}"}

  "errors": [
      "message": "Syntax Error GraphQL request (1:2) Expected Name, found String \"query\"\n\n1: {\"query\":\"query getCommunities {\\n  communities(clientName: \\\"123\\\", active: true) {\\n    id\\n    name\\n  }\\n}\"}\n    ^\n",
   "locations": [
          "line": 1,
          "column": 2
      "extensions": {
        "code": "GRAPHQL_PARSE_FAILED"
Community Support
Community Support

Hi @MaxTampa1,


Could you please share more details about the custom connector?

Could you please share more details about the error message?


The error message that you provided told that ti has syntax Error,please share more detail so we would try to provide a proper workaround for you.


Best regards,


Hi Alice, @v-yuazh-msft


I am trying to get flow to connect to an API that is built with GraphQL.


The requests work in postman and also works in flow if I manually add the query into the RawBody.

When I set the query as default > Flow transforms the query adding additional "\" to the query.


see screenshots below

Postman.PNGrequest error.png

Helpful resources

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!


Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (20,918)