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 / Input string was not i...
Power Automate
Unanswered

Input string was not in a correct format. 400

(0) ShareShare
ReportReport
Posted on by

Hi There, I am relatively new to Power Automate flows. My https request to SP is failing with error 400 - "Input string was not in a correct format"

 

Site Address : Correct

Get: Correct

URI : Issue : _api/web/lists/getByTitle('Complaint%20Automation%20Tool')/items(1126)/versions(51.0)

 

ID = 1126

51.0 = UntilVersionNumber

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

    Hi @sreemojura,


    It looks like you are using the VersionLabel value, which is 51.0. The VersionId which you should use in the versions method of that URI is something different, that is a number.

     

    With minor versions it would go up by 1. VersionLabel 0.4 would be VersionId 4. With major version it increments by 512. VersionLabel 1.2 would be VersionId 514 (512 + 2). 

     

    In your case that would be 51 x 512 = 26112

     

    Can you try the below URI and see if that works?

    _api/web/lists/getByTitle('Complaint Automation Tool')/items(1126)/versions(26112)

     

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