Symptoms:
This issue is resolved in NSX-T Data Center 3.2.2.
Workaround:
NSX Maintenance mode can be enabled/disabled via CLI without error. Below command can be used on the Transport Node:
nsxcli -c set maintenance-mode enabled
This change is not reflected the UI.