We're working on integrating provisioning and account management with the zimbra SOAP API. We have all of the basics working.

It seems that whenever Zimbra doesn't like a request, it is always returning a generic 500 HTTP error. For example, when creating an account where the address already exists. Or when setting a password that doesn't meet the minimum requirements, etc...

In looking at the HTTP response that is returned, it doesn't *seem* that the detailed reason for the error is included. The Zmprov command however, does return the specific error.

Someone please tell me that I'm wrong, that the error message is available via SOAP and I'm just being stupid here. (Any pointers as to where I should look would be appreciated.)