Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to read a single entity using RetilProxy methods #306

Open
shahbazchishty opened this issue Jul 4, 2024 Discussed in #304 · 1 comment
Open

Unable to read a single entity using RetilProxy methods #306

shahbazchishty opened this issue Jul 4, 2024 Discussed in #304 · 1 comment

Comments

@shahbazchishty
Copy link

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

@shahbazchishty
Copy link
Author

I've also tried creating a Binded controller but still got the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant