Problem when replacing text in PowerPoint

Hello,

I’m developing a robot that creates a powerpoint file from a template with variables to replace. For a long text the activity Replace Text in Presentation doesn’t work and returns the exception below :
Replace Text in Presentation: Error HRESULT E_FAIL has been returned from a call to a COM component.

Do you have a solution for this ?

Thanks