Message
foo
must be hourly, daily, weekly, monthly, or yearly
Explanation
sy:updatePeriod
elements must be one of the following strings: "hourly", "daily", "weekly", "monthly", or "yearly".
Solution
Fix it. (Note that the value is case-sensitive, and should be all lowercase with no surrounding quotes.)
Not clear? Disagree?
You might be able to find help in one of these fine resources.