Oracle Error ORA-38884: Cannot shrink data file string on standby database due to guaranteed restore points.

Oracle Error Message

ORA-38884: Cannot shrink data file string on standby database due to guaranteed restore points.

Reason for the Error

An attempt was made to shrink a data file on a standby database while there are guaranteed restore points. You cannot do this because Flashback database cannot undo the shrinking of a data file.

Solution

Drop all guaranteed restore points and rerun recovery on standby database.