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 / Invoke Webservice - Se...
Power Automate
Answered

Invoke Webservice - Send HTTP Request to Power Automate Online Flow

(0) ShareShare
ReportReport
Posted on by 78

Hi to all, 

 

I am trying to create a new item in a sharepoint list using the "invoke webservice" function in PAD. 

 

this is the flow in PA online:

 

SwiPowE_ch_0-1641105035631.png

 

which works with postman without problems:

SwiPowE_ch_1-1641105077912.png

My PAD Flow looks like:

as the link contains '%' I put it in a variable...looks good:

SwiPowE_ch_2-1641105330613.png

 

The function is: 

SwiPowE_ch_3-1641105381198.png

 

The web service response: 

Status Code 400

WebService response: 

SwiPowE_ch_4-1641105488771.png

 


{"error":{"code":"InvalidRequestContent","message":"The request content is not valid and could not be deserialized: 'Unexpected character encountered while parsing value: +. Path '', line 0, position 0.'."}}

 

Does anybody has an idea what to change? Is it connected to the [%] signs in the link? What is it to be entered in body?

 

Thank you and best regards

 

SwiPowE aka Bernd

 

 

I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    @SwiPowE_ch , for testing purposes try to pass the same hard coded string that was passed in Postman instead of the variable to see if the % sign is causing any problem.

  • SwiPowE_ch Profile Picture
    78 on at

    Hi VJR,

     

    thank you for your answer!

     

    The reason for the variable was that the link contains some [%] signs and I wasn't able to make it work as hardcoded text... do you have any ideas how to achieve it?

    Do you know if there exists a "dummy" url to send the data which is without [%] signs so I can figure out if that is the cause for the error?

     

    Thank you and best regards

     

    Bernd aka SwiPowE

  • VJR Profile Picture
    7,635 on at

    Hi @SwiPowE_ch 

     

    I think the %2f that is seen in the url represents a forward slash 

    https://www.w3schools.com/tags/ref_urlencode.ASP

     

  • Verified answer
    yoko2020 Profile Picture
    495 on at

    @SwiPowE_ch 

    Click advanced section and turn off encode request body.

     

    2022-01-04_073846.png

  • SwiPowE_ch Profile Picture
    78 on at

    My hero @yoko2020 !

     

    it worked! Great, just had to deactivate this option, then received a '202' Status Code and the action in Power Automate Online was executed successful !! This opens a lot of new options working with sharepoint as a datasource...

     

    Strangely I didn't receive a response... Maybe it is normal when it is successful?

     

    SwiPowE_ch_0-1641273191288.png

     

     

    @VJR: Thank you again for your efforts, tried your approach yesterday and the link with the replaced letters worked in Postman, but I received still an error message when firing the action in PAD. 

     

    Thank you both so much, this really is huge step for me!

     

    Best

     

    Bernd aka SwiPowE

     

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard