06-10-2015 11:56 AM - edited 03-19-2019 09:41 AM
We have begun upgrading our large enterprise environment from Unity 9.1 to 10.5. We have a number of applications developed in-house utilizing the vmrest API. One of them allows end users to update the SmtpAddress of their SMTP Notification Device. End users can enter multiple addresses in our application, which takes care of validation itself on the back end and then concatenates the addresses joined by a comma. In effect this enables email notification of voice messages to multiple parties and worked wonderfully under 8.5 and 9.1.
Now, however, we noticed our 10.5 boxes broke this functionality. We get the following error when submitting comma-separated multiple addresses:
<ErrorDetails>
<errors>
<code>DATA_EXCEPTION</code>
<message>Enter Vaild Relay Email Address</message> [sic]
</errors>
</ErrorDetails>
Obviously the commas are breaking the validation that PREVIOUSLY DID NOT OCCUR. Multiple-party notification still works fine when input manually via CUC Admin but this breaks our end user-facing tool. Is there any way I can turn off validation at the API level?
06-11-2015 07:12 AM
Hi there,
This problem sounds a lot like this 10.5 bug;
Symptom:
CUPI REST API PUT to change the SMTP address in notificationdevices/smtpdevices fails with message:
Here's the request:
PUT https://
Here's the response:DATA_EXCEPTION
Conditions:
It occurs when the email address given to replace the existing email address...
I would contact TAC to secure a "fixed-in" version.
Cheers!
Rob
07-27-2015 06:16 AM
Bug CSCuv46838 has been created for this:
https://tools.cisco.com/quickview/bug/CSCuv46838
A fix will be included in an upcoming ES release.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide