Error Code Portal
MicrosoftWindows Win32Error code

401

ERROR_THREAD_MODE_NOT_BACKGROUND

Alternative forms: 0x00000191 · 0x191 · ERROR_THREAD_MODE_NOT_BACKGROUND · 0x80070191

Code 401 · An issue reported by Windows Win32.

The thread is not in background processing mode.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.