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 / API-Request (REST) not...
Power Automate
Answered

API-Request (REST) not working in Power Automate but it works in Zapier, Pabbly, Postman ...

(0) ShareShare
ReportReport
Posted on by 8

Hello,

 

I like to create new contacts in our phone system. There is an API for that: API-Documentation

When I use Pabbly, Zapier or simple Postman - I can create the contact without any problem. Here the configuration form Postman:

rsieber_0-1692798061508.png

After sending that request, the contact is created successfully.

 

 

With the exact (?) same configuration in Power Automate:

rsieber_0-1692798486076.png

 

 

I get the follwoing error:

{
"type": "error",
"reason": "The name cannot be empty",
"code": "The name cannot be empty",
"result": null
}

 

 

I have no idea what's going wrong. I tried a lot. Even with encodingUrl, attributes in body and so on.

Any ideas?

 

Thanks in advance,

Robert

Categories:
I have the same question (0)
  • Verified answer
    Expiscornovus Profile Picture
    33,979 Most Valuable Professional on at

    Hi @rsieber,

     

    I see you have added the key/value pairs to the Queries section of the HTTP action. 

     

    Have you tried adding it to the Body instead?

     

    Have a look at this example from Mohamed Ashiq Faleel:

    https://ashiqf.com/2021/07/25/how-to-use-form-data-and-form-urlencoded-content-type-in-power-automate-or-logic-apps-http-action/

     

  • rsieber Profile Picture
    8 on at

    Well, @Expiscornovus I red the article serveral times and I tried it with the format mentioned in the API documentation (data=data[name]=contact name data[phonebook_id]=54) but not as shown in the screenshot in the article. I encoded everything after the first =.

    Now I tried exactly as shown in the article ... it's working.

     

    Thanks a lot!

     

    Robert

  • rsieber Profile Picture
    8 on at

    funny thing: I don't need to encode the parameters ...

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 269 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 184 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 136 Super User 2026 Season 2

Last 30 days Overall leaderboard