cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Regular Visitor

"Email me my location" flow returns "Invalid type" error

Hi everyone,

 

I created an "Email me my location" flow with the following values

             
              To:  User email (Dynamic content)
             Subject:  My current location
             Email Body
                  Address:⁠fullAddress⁠ (Dynamic content)
                 Latitude:⁠latitude (Dynamic content)
                 Longitude: ⁠longitude (Dynamic content)

 

When I ran the flow, I got he flowing error

The input body for trigger 'manual' of type 'Request' did not match its schema definition. Error details: 'Invalid type. Expected String but got Number. Path 'body.location.coordinates.latitude'.,Invalid type. Expected String but got Number. Path 'body.location.coordinates.longitude'.'.
 
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: "Email me my location" flow returns "Invalid type" error

Hi @Burak_Gunay , there seems to be something wroing with that template because if you create it from blank as I've done in the image below it works first time.

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.getMyLocation.png

 

View solution in original post

3 REPLIES 3
Highlighted
Super User III
Super User III

Re: "Email me my location" flow returns "Invalid type" error

Hi @Burak_Gunay , there seems to be something wroing with that template because if you create it from blank as I've done in the image below it works first time.

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.getMyLocation.png

 

View solution in original post

Highlighted
Regular Visitor

Re: "Email me my location" flow returns "Invalid type" error

Thank you. How can we report this bug to Microsoft?

Highlighted
Regular Visitor

Re: "Email me my location" flow returns "Invalid type" error

I contacted Microsoft support and they replied

 

"Regarding the “Email me my location” template issue,  I have updated to the Product team and they have started working on it .

 

These issue will be fix in the future updating version of MS Flow, Once again we are really sorry for the inconvenience which is caused to you."

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (4,288)