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 / Http request failed: t...
Power Automate
Answered

Http request failed: the content was not a valid JSON with SQL Get rows (V2) connector

(0) ShareShare
ReportReport
Posted on by 152

Hi,

 

I retrieved a list of items from SP List.  I want to go through each item of the list to check against another table stored in an on-premise SQL table. I used the "Get rows (V2)" connector.  This connector works outside of the "Apply to each".  When it is within "Apply to each", the run log showed that both Server name and Database name are "default",  instead of my Server name/Database name as I set up in the Power Automate.  

 

dchan1_0-1602443780917.png

 

How should this be corrected? 

dchan

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @dchan1 ,

     

    Could you share screenshots of the two configurations? Is the configuration of these two configurations different in Server name/Database name?

     

    Please provide more details so that we could analyze this issue.

     

    Best Regards,

  • Verified answer
    dc7669 Profile Picture
    152 on at

    Hi,

    I found the answer!  

    It was in the Filter Query section.  The below screen shot can be run successfully within the "Apply to Each". 

    The "Status" and "EmployeeID" are field names in the data table in SQL database.  I did not have correct case format and thus, it threw me the error.  I thought the field names were case insensitive.  

     

    dchan1_0-1602483018687.png

     

    Thanks! 

    dchan1 

     

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 252 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard