Do you have a hub variable that is type date or date/time?
First estimate is you do and the time string is not the HE format string.
See this
Not sure, but that is the code path I see.
Once we figure out the problem, I can adjust the code to handle the error more gracefully.
Can use private message if you don't want to show your HE globals in public.