Oracle Error RMAN-05524: Tablespace string is offline

Oracle Error Message

RMAN-05524: Tablespace string is offline

Reason for the Error

It was not possible to duplicate offline tablespaces.

Solution

Remove offline tablespace from list or online tablespace to duplicate it.