dell / iDRAC-Redfish-Scripting

Python and PowerShell scripting for Dell EMC PowerEdge iDRAC REST API with DMTF Redfish
GNU General Public License v2.0
606 stars 279 forks source link

unfortunate error message from DeviceFirmwareSimpleUpdateREDFISH.py #130

Closed KeithBierman closed 3 years ago

KeithBierman commented 4 years ago

when given the wrong password, the error message I'm receiving is "WARNING, iDRAC version installed does not support this feature using Redfish API" rather than an authentication focused message.

A meta note, it would be kind to NOT embed spaces in the critical directory names (indeed, any really) for cross platform simplicity.

texroemer commented 4 years ago

Hi @KeithBierman

Script was not handling status code 401 correctly when executing first GET request to validate successful iDRAC connection. Script has been updated and new version uploaded.

Thanks