HomeHomeDiscussionsDiscussionsGeneralGeneralProgrammatically Updating A QnA Maker Service - Cannot Add a QnA PairProgrammatically Updating A QnA Maker Service - Cannot Add a QnA Pair
Previous
 
Next
New Post
8/17/2017 2:04 PM
 

Hi,

Everything has been going really well thanks for all these, but the examples in Programmatically Updating A QnA Maker Service Using the QnA Maker API is throwing me a little bit.

Both in my code and the downloaded sample, all is working except Adding a new question pair.

Status comes back both in my code and the downloaded project as:

{ "error": { "extractionStatuses": [ { "sourceType": "Url", "externalStatusCode": "NoQuestionsFound", "source": "http://localhost" } ], "code": "ExtractionFailed", "message": "Unsupported / Invalid url(s). Failed to extract Q&A from the following sources: http://localhost" } }

I have either missed something really obvious in the blog post, or something may have changed?  What is really confusing me is Delete works successfully so it's not that it can't actually find the newQuestion and newAnswer for the QnAPair.

Has anyone else come up against this / have a workaround?

 
New Post
8/17/2017 10:02 PM
 

The url source should not be set.

I fixed the article and will update the sample code today.

 
Previous
 
Next
HomeHomeDiscussionsDiscussionsGeneralGeneralProgrammatically Updating A QnA Maker Service - Cannot Add a QnA PairProgrammatically Updating A QnA Maker Service - Cannot Add a QnA Pair