Msg 35295, Level 16, State 1, Line 5
I got the below error in the SECONDARY replica transaction log backup jobs. To resolve this issue i have removed respective database from the availability group of PRIMARY REPLICA database, if you do this automatically in the SECONDARY replica the database goes into RESTORING mode, then you can even delete this database from the secondary replica and go to PRIMARY replica and start database adding again. Then it will again to add to availability databases of PRIMARY and secondary.