Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
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"
      }
    }
  ]
  • MaxTampa1 Profile Picture
    12 on at
    Re: Custom connector Query problem

    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

  • v-yuazh-msft Profile Picture
    on at
    Re: Custom connector Query problem

    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

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics