Message Text
No foreign replica database for database variable1 configured.
Cause
Tried to access foreign replica database attached to local master database, such as trying to delete the foreign replica.
Response
Remove stale database replication configuration (if any) and re-attach the foreign replica database.
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.