The error 'Too many recursions.' occurs when rendering pages.
You probably have a recursion in your SXML, such as an ItemData macro or Viper that does a call to the same item and field.