cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Burak_Gunay
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
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
Regular Visitor

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

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

Burak_Gunay
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

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (6,904)