ERROR_SECRET_TOO_LONG 0x80070566
Error code 1382 · HRESULT 0x80070566
The length of a secret exceeds the maximum length allowed.
What it means
ERROR_SECRET_TOO_LONG is a Windows error code (system error 1382, returned as HRESULT 0x80070566) reported by Windows. Its official message is: “The length of a secret exceeds the maximum length allowed.”
How to fix ERROR_SECRET_TOO_LONG
- Reboot once — many one-off system codes disappear with a clean restart
- Repair system files: 'sfc /scannow' then 'DISM /Online /Cleanup-Image /RestoreHealth'
- Find the source in Event Viewer → System: filter for this exact code and open its provider link
Related errors
Source: Microsoft WinError.h
Last updated: