-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
General:
Request URL:http://taskcatdev.azurewebsites.net/api/Order/
Request Method:POST
Status Code:403 Forbidden
Remote Address:104.214.29.203:80
Request Headers:
Access-Control-Allow-Credentials:true
Access-Control-Allow-Origin:http://127.0.0.1:8080
Content-Length:3780
Content-Type:application/json
Date:Mon, 26 Sep 2016 09:05:17 GMT
Server:Microsoft-IIS/8.0
Set-Cookie:ARRAffinity=3276d7717184997894e71923d30e1f786ee000e7a4efc5f0eb9b533259986019;Path=/;Domain=taskcatdev.azurewebsites.net
X-Powered-By:ASP.NET
Request Headers:
Accept:application/json, text/plain, */*
Accept-Encoding:gzip, deflate
Accept-Language:en-US,en;q=0.8,bn;q=0.6
Authorization:Bearer Rrx6b_NTx55z01oE8J-jt5TGh0EHgQ7IoEdsr2Nam9LOSAwoJYI4n04EvXCBgyViGKHd3khtvvMSVi3Akk7R9s9_Mg0KlmExw3h3BfwHKWIYHF0FzQ3-7AnW7yh4VC2fKYhVaUAnEzE7GfIzO5S9k3V3ROq8RSDdkdXhBPFb2aeFiDlsd9mVs-w_9U-logbnXUnxcjsf3WV0pKfGXG5s8II660I49D4vTzwn98e2p9OYi-_XRAKEb8jaXe0BX43-RmDjUa5sjtBMXQQx12xBqFnTsoxFukQRvIxlpZU9dEWLIBhB68r9ckpLVcMsDrbF4aH_to8wEhXejfrcs7dyU8LHl_BQuC6S73mi6cH9uIMfTJVO833BrCn-b2ONo_xPHFes5YJkKdDT7gBk-7xtfbRt_iZg5M5uC1CPOcTF75PSRSKjWbCv-Hi85gtngyh5sDTfEAzE1Ma-jlnnKUc4JWBszDNAgGuiN-jfmRTudXRzBjEn
Connection:keep-alive
Content-Length:1192
Content-Type:application/json;charset=UTF-8
DNT:1
Host:taskcatdev.azurewebsites.net
Origin:http://127.0.0.1:8080
Referer:http://127.0.0.1:8080/
User-Agent:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36
Payload:
{
"NoteToDeliveryMan": "asdasdasd",
"RequiredChangeFor": 13,
"Name": null,
"From": {
"Address": "",
"PostalCode": null,
"Floor": null,
"HouseNumber": null,
"AddressLine1": "asdasd",
"AddressLine2": null,
"Country": null,
"City": "Dhaka",
"State": null,
"Locality": "Bailey Road",
"Point": {
"type": "Point",
"coordinates": [
90.40856882929802,
23.795476132355226
]
},
"Provider": "Default"
},
"To": {
"Address": "",
"PostalCode": null,
"Floor": null,
"HouseNumber": null,
"AddressLine1": "asdasd",
"AddressLine2": null,
"Country": null,
"City": "Dhaka",
"State": null,
"Locality": "Banani",
"Point": {
"type": "Point",
"coordinates": [
90.39569422602654,
23.796654142306398
]
},
"Provider": "Default"
},
"Type": "ClassifiedDelivery",
"PayloadType": "default",
"UserId": "578db58985e54d1ae095313f",
"OrderLocation": null,
"ETA": "2016-09-19T18:00:00.000Z",
"ETAMinutes": null,
"PaymentMethod": "CashOnDelivery",
"Description": "asdasd",
"OrderCart": {
"PackageList": [
{
"Item": "asdsad",
"Quantity": 1,
"Price": 0,
"VAT": 0,
"Total": 0,
"VATAmount": 0,
"TotalPlusVAT": 0,
"Weight": 0
}
],
"TotalVATAmount": 0,
"SubTotal": 0,
"ServiceCharge": 22,
"TotalWeight": 0,
"TotalToPay": 0
},
"JobTaskETAPreference": [
{
"Type": "PackagePickUp",
"ETA": "2016-08-30T18:00:00.000Z"
},
{
"Type": "Delivery",
"ETA": "2016-09-12T18:00:00.000Z"
}
]
}
Error Message:
{
"ClassName": "System.InvalidOperationException",
"Message": "Either ErrorMessageString or ErrorMessageResourceName must be set, but not both.",
"Data": null,
"InnerException": null,
"HelpURL": null,
"StackTraceString": " at System.ComponentModel.DataAnnotations.ValidationAttribute.SetupResourceAccessor()\r\n at System.ComponentModel.DataAnnotations.ValidationAttribute.get_ErrorMessageString()\r\n at System.ComponentModel.DataAnnotations.ValidationAttribute.FormatErrorMessage(String name)\r\n at System.ComponentModel.DataAnnotations.ValidationAttribute.IsValid(Object value, ValidationContext validationContext)\r\n at System.ComponentModel.DataAnnotations.ValidationAttribute.GetValidationResult(Object value, ValidationContext validationContext)\r\n at System.Web.Http.Validation.Validators.DataAnnotationsModelValidator.Validate(ModelMetadata metadata, Object container)\r\n at System.Web.Http.Validation.DefaultBodyModelValidator.ShallowValidate(ModelMetadata metadata, ValidationContext validationContext, Object container, IEnumerable`1 validators)\r\n at System.Web.Http.Validation.DefaultBodyModelValidator.ValidateNodeAndChildren(ModelMetadata metadata, ValidationContext validationContext, Object container, IEnumerable`1 validators)\r\n at System.Web.Http.Validation.DefaultBodyModelValidator.ValidateProperties(ModelMetadata metadata, ValidationContext validationContext)\r\n at System.Web.Http.Validation.DefaultBodyModelValidator.ValidateNodeAndChildren(ModelMetadata metadata, ValidationContext validationContext, Object container, IEnumerable`1 validators)\r\n at System.Web.Http.Validation.DefaultBodyModelValidator.Validate(Object model, Type type, ModelMetadataProvider metadataProvider, HttpActionContext actionContext, String keyPrefix)\r\n at System.Web.Http.ModelBinding.FormatterParameterBinding.<ExecuteBindingAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.HttpActionBinding.<ExecuteBindingAsyncCore>d__0.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Filters.AuthorizationFilterAttribute.<ExecuteAuthorizationFilterAsyncCore>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ExceptionFilterResult.<ExecuteAsync>d__0.MoveNext()",
"RemoteStackTraceString": null,
"RemoteStackIndex": 0,
"ExceptionMethod": "8\nSetupResourceAccessor\nSystem.ComponentModel.DataAnnotations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35\nSystem.ComponentModel.DataAnnotations.ValidationAttribute\nVoid SetupResourceAccessor()",
"HResult": -2146233079,
"Source": "System.ComponentModel.DataAnnotations",
"WatsonBuckets": null
}
Metadata
Metadata
Assignees
Labels
No labels