Masri replied to the IBM z Systems Developer and Test Environment and Rational Development and Test Environment for z Systems Error 312 : server time out after “get license” topic thread in the IBM z Systems Development and Test Environment Forum forum.

discovery service nodejs sdk method

I am creating REST api for discovery service (bluemix watson discovery) using the nodejs SDK. I am getting the error [object undefined] error. Below is the code snippet.

var request = discovery.query(params,function(err,result){
console.log(‘Error getting data from discovery service : ‘, err);
res.status(500).send(‘Error retrieving Data’);