The 'ObjectContent`1' type failed to serialize

2 posts, 0 answers
  1. Siva
    Siva avatar
    2 posts
    Member since:
    Dec 2015

    Posted 13 Mar 2019 Link to this post


    While im selecting "Select All" option in the filter, then its showing the below error.

    Unable to get report parameters.

    An error has occurred.
    The 'ObjectContent`1' type failed to serialize the response body for content type 'application/json; charset=utf-8'.

    We tried to update Newtonsoft.json to latest version then also we are getting the same issue. We are having 200 customers only in that filter.

    Telerik Version

    Can anyone please help me on that?



  2. Silviya
    Silviya avatar
    417 posts

    Posted 15 Mar 2019 Link to this post

    Hi Kesavan,

    In R2 2018 we have updated the Newtonsoft.Json dependency to 9.0.1. Thus my suggestion is to verify that the project is referring to Newtonsoft.Json 9.0.1. If you update to a newer version, include/modify the corresponding bindingRedirect for Newtonsoft.Json in the configuration file of the project (Web.config). For more information see this upgrade path article.

    We strongly recommend using our Upgrade Wizard to update the existing projects. The wizard will make all the required changes in the project and create a back up before modifying it.

    For more information about the error please refer to Error after upgrading to R2 2018 - The 'ObjectContent`1' type failed to serialize the response body for content type 'application/json; charset=utf-8' KB article.

    If the issue still persists, please open a new support ticket and attach the problematic project along with the report and some sample data for it, so we could test and provide more specific suggestions.

    Best Regards,
    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top