0 votes
1 view
{"service":"","errors":[{"message":"Error while reading the JSON object"}]}
Environment 6.3
related to an answer for: where to find knowage API?
asked Apr 17, 2019 in API and SDK by mcramesh (220 points) | 1 view

2 Answers

0 votes

I create a boilerplate for REST API integration with Knowage. See if it can help you

https://github.com/darwinpasco25/KnowageServiceConsoleApp

answered May 5, 2020 by darwinpasco (2,770 points)
0 votes
Hi,

have you find a way to make POST or PUT call through Knowage REST API ?

I get the same error for every request

{"service":"","errors":[{"message":"Error while reading the JSON object"}]}

GET and DELETE requests work fine though.
answered Jan 28, 2021 by rlagarde (3,170 points)

I got this to work.

Probleme came from documentation :https://knowage.docs.apiary.io/#reference/0/the-datasets/add-a-dataset

there is a key that is not recognized in the Body JSON object. (please get this out of the doc)
It works fine without this:

  'publicDS': true,
1,555 questions
1,017 answers
2,038 comments
2,568 users