Results in response are null only on client

I have an issue I have not seen before.

The QueryResponse’s Results are fine on the sever when i am stepping through. But when the get to the Client the count is filled but the Results property is null.

Anybody have any suggestions on what to check?

By the way the offending call is ServiceClient.GetAsycn<QueryResponse>(url) and I have tried both the Async and Sync calls. Both doing the same thing.

The first thing to look at when investigating any API issue is to look at the raw HTTP Response/Request Headers then compare it against the client code.

OMG! So the issue was on validation for a given class. All is good now thanks.

1 Like