Hi,
I have generated my types via SS cli. all of the API is working except one…
The c# server throw this exception:
{
"responseStatus": {
"errorCode": "SerializationException",
"message": "Unable to bind to request 'WebHasKremboRequest'",
"stackTrace": "System.Runtime.Serialization.SerializationException: Unable to bind to request 'WebHasKremboRequest'\n at ServiceStack.Serialization.StringMapTypeDeserializer.PopulateFromMap(Object instance, NameValueCollection nameValues, List`1 ignoredWarningsOnPropertyNames) in C:\\BuildAgent\\work\\3481147c480f4a2f\\src\\ServiceStack.Client\\Serialization\\StringMapTypeDeserializer.cs:line 133\n at ServiceStack.Host.Handlers.ServiceStackHandlerBase.DeserializeHttpRequestAsync(Type operationType, IRequest httpReq, String contentType) in C:\\BuildAgent\\work\\3481147c480f4a2f\\src\\ServiceStack\\Host\\Handlers\\ServiceStackHandlerBase.cs:line 161\n at ServiceStack.Host.Handlers.GenericHandler.CreateRequestAsync(IRequest req, String operationName) in C:\\BuildAgent\\work\\3481147c480f4a2f\\src\\ServiceStack\\Host\\Handlers\\GenericHandler.cs:line 38\n at ServiceStack.Host.Handlers.GenericHandler.ProcessRequestAsync(IRequest httpReq, IResponse httpRes, String operationName) in C:\\BuildAgent\\work\\3481147c480f4a2f\\src\\ServiceStack\\Host\\Handlers\\GenericHandler.cs:line 85\n",
"errors": [
{
"errorCode": "SerializationException",
"fieldName": "requestDetails",
"message": "'[object Object]' is an Invalid value for 'requestDetails'"
}
]
}
}
[object Object] is an Invalid value for requestDetails
even though, in the picture below you can see that it is a real object:
Thanks