web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Custom connector Query...
Power Automate
Unanswered

Custom connector Query problem

(0) ShareShare
ReportReport
Posted on by 12

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. 

Thanks

Max

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"
      }
    }
  ]
Categories:
  • v-yuazh-msft Profile Picture
    Microsoft Employee on at

    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,

    Alice

  • MaxTampa1 Profile Picture
    12 on at

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 227 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 221 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 132

Last 30 days Overall leaderboard