problème with recurring events

Hello, I have the problem that I encounter for some time with recurring events. The problem is that I can not load a recurring event in the calendar. You should know that I support events in my calendar since flows json, so I use the method scheduler.parse. I do not know what attributes must be given to the calendar considers that the event is recurring and what type is its recurrence. Here’s the flow that I get:

{“events”:[{“id”:“rkep2vv15oujl8qife10i1jj2c”,“text”:"",“start_date”:“2010-05-25 12:30:00”,“end_date”:“2010-05-25 17:00:00”,“rec_type”:“week____2,4#”,“rec_lenght”:16200,“event_pid”:“rkep2vv15oujl8qife10i1jj2c”,“end”:“Mon Feb 01 9999 00:00:00 GMT+0100”}

Thanks for your help !

Correct command is

scheduler.parse([{"id":"rkep2vv15oujl8qife10i1jj2c","text":"1","start_date":"2010-05-25 12:30:00","end_date":"9999-01-01 17:00:00","rec_type":"week_1___2,4#","event_length":"16200"}],"json");

Thank you for your reply, but I did exactly what you describe and it does not work. An error appears:

“too much recursion”

I do not know why it does not work correctly. I tried to add a single event with the addEvent method and it works well. I do not see where is the problem.
Thank you for your help!

Sorry to double post, but I just realized why I was returning the error code indicated above :smiley: ! I forgot to mention the meantime, because by default I do not put. Thank you for your help !