Seaquel
SQL Server error code

SQL Server error 535

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

The %.*ls function resulted in an overflow. The number of dateparts separating two date/time instances is too large. Try to use %.*ls with a less precise datepart.
Msg535
Severity16
Group0–999

Source: Database Engine events and errors