Skip to Content

issue getting the metadata of xsodata in JSON format

Aug 29, 2017 at 08:26 PM


avatar image


We have created xsodata on the HANA View and everything works fine. I can get the data by calling the service as well.

I could get the metadata also by appending $metadata in the URL. It gives the result in the XML format.

Now, I tried to get the metadata of the xsODATA in JSON format by putting this:


But, it gives below error.

{ "error": { "code": "", "message": { "lang": "en-US", "value": "Not Acceptable: Requested resource is only capable of generating response entities which have content characteristics not acceptable according to the request's HTTP 'Accept' header."}}}

Not sure what is wrong or whether it is allowed or not.

I can get the actual data in the JSON format without any issue. It is just the metadata getting in json format gives this error.



10 |10000 characters needed characters left characters exceeded


Seems like it isn't supported. Please check answer in below thread -

* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Devisha Bhavik Sep 14, 2017 at 05:46 PM

Thanks Gowthami Bhogireddy

That confirms my doubt. I thought it was not supported, but wanted to get confirmation from others that my assumption is correct.


10 |10000 characters needed characters left characters exceeded