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 / Getting Cannot convert...
Power Automate
Answered

Getting Cannot convert a primitive value to the expected type 'Edm.Double' error

(0) ShareShare
ReportReport
Posted on by 60

Hello

Im using Send HTTP request action to updating list. When i try to  insert date and percentage, getting "Edm.DateTime" and "Edm.Double" error. 

Here is my action. 

Screenshot 2021-04-26 232523.png

 

Categories:
I have the same question (2)
  • Verified answer
    abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Try using the float() expression to convert the numeric value to double. Also for the date you could try formatDateTime() using 'yyyy-MM-dd'

  • Badral Profile Picture
    60 on at

    Thank you for your reply.

    Can you more specific on formatDateTime()

    Thanks

  • PrasadAthalye Profile Picture
    on at

    Can you convert enddate using following format?

     

    ('yyyy-MM-ddTHH:mm:ssZ')

  • Badral Profile Picture
    60 on at

    Which action should i use? 

  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Are you planning to store the datetime as well. Then use the format @PrasadAthalye  mentioned.

  • PrasadAthalye Profile Picture
    on at

    You can use Compose to convert and then use output from compose.

  • Mohandar Profile Picture
    78 on at

    @PrasadAthalye  I am getting similar error but don't know which field is causing the issue. is it possible to field type currency causing this error? following is screenshot of list setting and flow execution.

    I have some fields are currency type in list an when I am creating new item, I am passing the value from old item stored in the same list. there are chances that some fields are empty such as EIAddAmount:

    could you please guide how can I fix this issue?

    Mohandar_0-1704816726221.png

     

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard