CustomerKey: url: https://epsiapi.harmony.epsilon.com/v1/sms/simple/24ae994b-0e93-415b-8b98-3500b207ce56/sendrequestBody: {"recipients": [{"customerKey": "","smsNumber": ""}]}

 


The remote server returned an error: (400) Bad Request.

Server Error in '/' Application.

The remote server returned an error: (400) Bad Request.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The remote server returned an error: (400) Bad Request.

Source Error:


Line 76: 			}
Line 77: 
Line 78: 			WebResponse apiResponse = apiRequest.GetResponse();
Line 79: 			using (Stream responseStream2 = apiResponse.GetResponseStream()) {
Line 80: 				StreamReader reader2 = new StreamReader(responseStream2);

Source File: D:\inetpub\wwwroot\organon.eiam.epsilon.com\Controllers\nexpl_welcome_sms.aspx    Line: 78

Stack Trace:


[WebException: The remote server returned an error: (400) Bad Request.]
   System.Net.HttpWebRequest.GetResponse() +1751
   ASP.controllers_nexpl_welcome_sms_aspx.Page_Load(Object sender, EventArgs e) in D:\inetpub\wwwroot\organon.eiam.epsilon.com\Controllers\nexpl_welcome_sms.aspx:78
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4718.0