<>f__AnonymousType0`1[System.String] cannot be serialized because it does not have a parameterless constructor.

Ketan Patil 21 Reputation points
2021-04-02T09:36:27.713+00:00

Earlier it worked without a problem. however right now i am getting this error: <>f__AnonymousType0`1[System.String] cannot be serialized because it does not have a parameterless constructor.

Exception Type: System.InvalidOperationException

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,459 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,941 Reputation points Moderator
    2021-04-12T09:49:48.027+00:00

    It is a generic error and caus due to the serialization of the object. The suggestion would be to debug the code or verify your input with the serialization class.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.