cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Burak_Gunay
Level: Powered On

"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
Super User
Super User

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
Super User
Super User

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

Burak_Gunay
Level: Powered On

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

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

Burak_Gunay
Level: Powered On

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 283 members 5,898 guests
Recent signins:
Please welcome our newest community members: