While updating Unattended Robot password through API call using PUT, error 500 is thrown

I receive an error 500 when using the “PUT” request - do you have any idea why this happens?