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 POST - Empty Payl...
Power Automate
Answered

HTTP POST - Empty Payload. JSON content expected when running in power automate

(1) ShareShare
ReportReport
Posted on by 20

Hi.

 

I've created a flow to add users devices to an Azure AD group.   Using MS Graph testing it works perfectly, but when in power automate it fails saying Empty Payload. JSON content expected.  I'm sure it's something simple that just needs tweaking on the flow somewhere, but I can't figure it out.  Any help would be really appreciated.

 

This works...


01.png

This doesn't work ...

02.png03.png

 

 

 

Categories:
I have the same question (0)
  • Dieter Gobeyn Profile Picture
    29 on at

    The error says the JSON body is invalid,

    Based on your screenshot, you missed the open and closing brackets => { and } in your HTTP body request:

    "@odata.id": "https://xxxxxxx"

    }

     

    sdf1fsd5fds1_0-1721070492863.png

     

    sdf1fsd5fds1_1-1721070531150.png

     

     

    If I've been helpful, please mark my answer as Resolved/Answered and give it a thumbs up. This will help others too.

  • Babbabooey Profile Picture
    20 on at

    Hi Dieter.

     

    Thanks for the reply, but it doesn't allow the brackets in power automate, that's why they aren't present.

    It gives the below error if you include them, and doesn't let you save the flow.

    Babbabooey_0-1721113556777.png

     

    .

  • Verified answer
    Dieter Gobeyn Profile Picture
    29 on at

    From this article:

    Logic Apps workflow definitions with the Workflow Definition Language schema

    If you have a literal string that starts with the @ character, prefix the @ character with another @ character as an escape character: @@

    So in your case, this should work:

    {
     "@@odata.id": "your value here"
    }

     

    If I've been helpful, please mark my answer as Resolved/Answered and give it a thumbs up. This will help others too.

  • Babbabooey Profile Picture
    20 on at

    I found the same article this morning, and that was the fix. Thank you 😊

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 376

#2
Valantis Profile Picture

Valantis 361

#3
David_MA Profile Picture

David_MA 294 Super User 2026 Season 1

Last 30 days Overall leaderboard