| Previous | Next |
| ERROR_CHECKOUT_REQUIRED | ERROR_FILE_TOO_LARGE |
ERROR_BAD_FILE_TYPE
The target rejects this file type
ERROR_BAD_FILE_TYPE is a Win32 result associated with uploads, downloads, document libraries, and security filtering.
What the result means
The file type has been blocked by policy or by the target service.
What to check
- Compare the extension and detected content type with the destination allowlist.
- Check enterprise policy, antivirus, gateway, and document-library restrictions.
- Verify that the file was not renamed merely to disguise its real format.
- Record the policy source and rule without exposing sensitive file contents.
Recommended handling
Use an approved format or request a policy exception through the proper administrative process. Renaming the extension is not a valid fix and may create a security incident.
References
Looking for a different code? Search another status or error code.