Error "Parameter named "regionSegmentID" cannot be found for effect "Wrap Solidify""

Hello,

I am using Wrap and Solidify from a python script, and I get the following error:

[Qt] QString qSlicerSegmentEditorAbstractEffect::parameter(QString) : Parameter named “regionSegmentID” cannot be found for effect “Wrap Solidify”

I repeat the wrap and solidify operation in a loop over time volumes and I don’t get any error in the first iteration, why I get this for the others? What does it mean? How can I solve it?

Regards,
Laura