cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RainerWinter
New Member

Error in Synch-Template Google / Outlook Message 400 String was not recognized as a valid DateTime

I found a Template called "Wenn ein Termin in einem Kalender aktualisiert wird -> Termin aktua…"

This one should synch Google calendar with Outlook calendar in both ways.

Once entering the right calendar an testing the following message Comes up:

 

{
"status": 400,
  "message": "String was not recognized as a valid DateTime.\r\nclientRequestId: e23c2d70-3af8-4c8e-a87f-b6565c0b4c81",
  "source": "office365-ne.azconn-ne-01.p.azurewebsites.net"
}
 
This is the configuration:
 
 
 

flow1.PNG

 

and this is the error message

flow2.PNG

 

Any ideas to solve that Problem?

Thanks Rainer

1 ACCEPTED SOLUTION

Accepted Solutions
manuelstgomes
Super User
Super User

Hi @RainerWinter 

 

The issue is that the value is a string ("String was not recognized") and not a date. Try the following:

formatDateTime(<your variable>, 'yyyy-MM-dd')

 

This is if your input format is, for example, 2019-12-26. By adjusting the string value into a valid date type then your "Termin aktua..." step will run correctly.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

View solution in original post

3 REPLIES 3
yashag2255
Dual Super User II
Dual Super User II

Hey @RainerWinter 

 

I have just made a test on my side and am unable to reproduce the error. 

 

Can you confirm that you are providing the right values from the dynamic selector for the Event start and Event end timings?

 

You should use these attributes: 

1. Event List Event Start Date-Time (Ereignisliste Ereignis Startdatum-Uhrzeit)

2. Event List Event End Date-Time (Ereignisliste Ereignis Enddatum-Uhrzeit)

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

v-alzhan-msft
Community Support
Community Support

Hi @RainerWinter ,

 

Have your problem been solved?  If yes, please go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

 

Best Regards,

Alice

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

manuelstgomes
Super User
Super User

Hi @RainerWinter 

 

The issue is that the value is a string ("String was not recognized") and not a date. Try the following:

formatDateTime(<your variable>, 'yyyy-MM-dd')

 

This is if your input format is, for example, 2019-12-26. By adjusting the string value into a valid date type then your "Termin aktua..." step will run correctly.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,600)