GL_INVALID_VALUE

The documentation lists this name without a value.

Documented in Win32

OpenGL Error Codes

Numeric argument out of range.