I am struggling with creating a repeat event flow for SharePoint calendars. Just when I figure out one thing, another issue arises. Most of them, I have been able to figure out, but I keep getting an error that the "ticks expects a parameter." I'm not sure which of the parameters it's wanting from the flow, exactly.
The most common reason for this error is how you are referencing the output of the previous action.
Direct Body Reference: If Add_to_time_Start is a standard "Add to time" action, referencing its body usually returns an object, not a simple string. ticks() requires a specific string format (ISO 8601).
The Fix: Try using the specific output property instead of the whole body. Usually, this is outputs('Add_to_time_Start')?['body'] or simply selecting Calculated time from the Dynamic Content picker inside the ticks() parenthesis.
The 'u' Format String: In your convertTimeZone function, you are using 'u' as the format. While this is a valid sortable format, ticks() sometimes struggles if the string includes certain characters or trailing offsets.
The Fix: Use the standard ISO format string 'yyyy-MM-ddTHH:mm:ssZ'.
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.