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

Notifications

Announcements

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:
I have the same question (0)
  • v-yuazh-msft Profile Picture
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard