Problem deserializing a byte[] from Web server to SL Application

Hello,
I’m trying to get a document (PDF) from a ServiceStack service on the Silverlight part. I got an exception telling that Input string was not in a correct format.

My repo is

public Task<byte[]> Method(IEnumerable<obj> items, Filtersfilters, EnumType type)
    {
        ServiceStack.JsonServiceClient client = GetServiceStackClient();

        var request = new MyRequestDTO
        {
            Items = items,
            Filters = filters,
            Type = type
        };

        return client.PostAsync(request);
    };

In my service I load a static file, so I’m sure it opens from Windows

public object Any(MyRequestrequest)
    {
        var bytes = File.ReadAllBytes("c:\\temp\\pdf_1515524491.pdf");
        return new HttpResult(bytes);
      }

And in my code I do

if (dialog.ShowDialog() == true)
                        {
                            var result = await repository.Method(lstFlussiCassaFuturi, filters, exportType);
                            MessageBox.Show("Export completato");

                            busyIndicator.IsBusy = false;
                        }

What can I check? Just becoming mad…

Can you show the full Request DTO and the full Exception StackTrace?

Hello Mythz,
Sorry for my delay in response but I had familiar problems…btw I resolved wrapping the byte[] inside a Container… in that case it worked…
Thanks