Adding your google calendar agenda to your daily journal

Hello,
I am getting this error with $from and $to.
image

However, when I enter manually the date in the command, it works (same if it’s hard coded in the user function)
image

So perhaps there is an issue in how the values are transferred?