Skip to Content

issue getting the metadata of xsodata in JSON format


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.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    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.


    Add comment
    10|10000 characters needed characters exceeded