Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
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?
in API and SDK by (220 points)

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

by (2.8k 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.
by (3.2k 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,
...