Use the common INVALID_VALUE constant

Authored by mutlaqja on Oct 27 2018, 10:38 AM.