@noxx
Looks okay for me. Especially if the ics file starts downloading by adding the URL to your browser.
Did you try another THEN part? Somthing easy / which works safely? Just to exclude errors and find the exact position of the fault? Maybe it’s not the plugin or the IF part - but the TEHN part of the rule.
(