This is just an observation for future improvement. No response required. We've resolved all of our error causes (eventually).
Error messages from some Content/Enterprise Web Servers (EWS) calls are terrible. I'll give 3 examples:
Bad:
DocumentManagementClient.UpdateNode(ref auth, nodeWithBadAttribute);ERROR: [?ELSERVICE_ERRMSG?.ErrorStoringAttributeValueKeyIsInvalid]
No indication of which attribute or value is incorrect. When we update node attributes, we must do perform the update with each attribute; because if there's an error, there's not way to tell which one. Terribly ineffiecient.
Worse:
DocumentManagementClient.GetCategoryTemplate(ref auth, invalidCategoryID);ERROR: An unknown error occurred.
Really? An unknown error?
Worst (Baddest?):
ContentService.UploadContent(ref auth);ERROR: Dispatched service DocumentManagement threw exception ? : ?
Only "?" for exception names? I think someone forgot to actually supply a parameter value to an error statement. We get this error with several EWS service calls.
Thanks,
Mark