Skip to content

Unable to read a single entity using RetilProxy methods #306

@shahbazchishty

Description

@shahbazchishty

Discussed in #304

Originally posted by shahbazchishty June 28, 2024
Hi,

We have a custom method at CSU using which we wish to return a single response object in response. We are able to return proper data in response but still Retail Proxy is not able to identify it as JSON object.

We are getting error "InvalidOperationException: The response payload is a not a valid response payload. Please make sure that the top level element is a valid Atom or JSON element or belongs to 'http://docs.oasis-open.org/odata/ns/data' namespace."

It is able to convert if I call any standard methods like GetCustomer but it is not working for our custom CommerceEntity

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions