StatusCodeError - 406


#1

I am using request-promise and calling the rest-api on http://localhost:4567/kb/akashic0/concept/V385048 with header as
{ ‘Accept’: ‘application/graql+json’ }

I am getting following error (Note: the vertex with Id V385048 exists) -

“406 - {“exception”:“Unsupported Content-Type [application/graql+json] requested”}”

All other api urls are working correctly (like http://localhost:4567/kb/akashic0/concept/V192648/relationships).

How do I solve this problem?


#2

Hi,

Unfortunately this is a known bug with the 1.0 release. The fix will be in the next release, 1.1. We don’t currently have a planned release date, but you can expect it fairly soon.

Felix