Hi,
I am using Web Service DS and i get this error in the standalone report designer.
I have been able to return the data in json format via Postman with the same Header parameters, but when i try to configure the data source in the report designer, I get the following error.
System.InvalidCastException: Unable to cast object of type 'System.String' to type 'Newtonsoft.Json.Linq.JToken'.
Issue Value
{"esFilters":{"Paging":[{"paged":false,"resultsPerPage":0,"pageNumber":0}]}}
or
{ esFilters: {"Filters":[{"filterName":"","filterValue":"","filterOperator":""}],"Paging":[{"paged":true,"resultsPerPage":100,"pageNumber":1}]}}
Please advice. Thsi API works in the application and postman without any issues.
Thanks,
BV
Please ignore this issue. I had solved this buy adding the correst response type in the header. application/json; charset=utf-8
Thanks.