Seaquel
SQL Server error code

SQL Server error 982

SQL Server raises error 982 at severity 14, which marks a problem with the query or data that you can correct.

Unable to access the '%.*ls' database because no online secondary replicas are enabled for read-only access. Check the availability group configuration to verify that at least one secondary replica is configured for read-only access. Wait for an enabled replica to come online, and retry your read-only operation.
Msg982
Severity14
Group0–999

Source: Database Engine events and errors