If you are using Windows Hello (PIN, facial recognition, or fingerprint) and an error occurs when printing, this behavior is usually associated with a Windows authentication issue.
There is a known limitation where Windows Hello may not correctly provide the credentials required for printing, causing failures when sending the job to the printer.