You have issued a command that requires a relation in order to exist.
For example, issuing SET SKIP TO prior to the relation being established would generate this error.
-
Issue SET RELATION Command prior to issuing the command that failed.