botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Luis related test case failed

Open zhou-xinghai opened this issue 9 years ago • 18 comments

hi, all luis related test case like /basics-naturalLanguage /basics-multiTurn failed to work suddenly. return Oops. Something went wrong and we need to start over. SyntaxError: Unexpected token A in JSON at position 0. can you please take a look and fix the problem. all my luis related project don't work now. thanks

image

zhou-xinghai avatar Jan 17 '17 09:01 zhou-xinghai

Also getting the same problems.

adamayoung avatar Jan 17 '17 09:01 adamayoung

Same here.

changesbyjames avatar Jan 17 '17 09:01 changesbyjames

An item with the same key has already been added.

LUIS NOT WORKING

VishalWaman avatar Jan 17 '17 09:01 VishalWaman

facing the same issue.

chetanmekha avatar Jan 17 '17 10:01 chetanmekha

Same here. It seems that luis integration is broken for everyone.

jsebrech avatar Jan 17 '17 10:01 jsebrech

Currently talking to someone from https://twitter.com/AzureSupport and have raised a case on their Support Site. Will let everyone know what happens.

adamayoung avatar Jan 17 '17 10:01 adamayoung

The luis response to all queries are like this now "An item with the same key has already been added." :|

PrasadGautham avatar Jan 17 '17 10:01 PrasadGautham

Fix: Update your LUIS endpoint hostname from api.projectoxford.ai to westus.api.cognitive.microsoft.com

adamayoung avatar Jan 17 '17 11:01 adamayoung

capture

karlbarber avatar Jan 17 '17 11:01 karlbarber

tried with above changes, getting below error { "statusCode": 500, "message": "Internal server error", "activityId": "68749226-8fe1-4ef6-bb1f-a42bb0bd2f99" }

chetanmekha avatar Jan 17 '17 11:01 chetanmekha

@admeister can you share a sample URI that worked for you ?

VishalWaman avatar Jan 17 '17 11:01 VishalWaman

Seems Working

VishalWaman avatar Jan 17 '17 11:01 VishalWaman

Works for me now as well.

jsebrech avatar Jan 17 '17 12:01 jsebrech

Hi @zhou-xinghai, @admeister, @strangecyan, @VishalWaman, @chetanmekha, @jsebrech , @PrasadGautham, and @karlbarber, the LUIS endpoint should be working again. Please at-mention or open a new issue if you encounter further issues.

dandriscoll avatar Jan 17 '17 16:01 dandriscoll

@dandriscoll 'An item with the same key has already been added.' 3/2/2017 15:25 GMT

TakesTheBiscuit avatar Feb 03 '17 15:02 TakesTheBiscuit

@TakesTheBiscuit I'll forward to the team

dandriscoll avatar Feb 03 '17 15:02 dandriscoll

@TakesTheBiscuit - did you take the fix from earlier in the thread about changing the endpoint from api.projectoxford.ai to westus.api.cognitive.microsoft.com?

--jim

jameslew avatar Feb 03 '17 15:02 jameslew

Apologies @jameslew and @dandriscoll - it seems that error is coming up when you submit a duplicate &q within the query string on GET - to be honest i hadn't expected that would be the error so it threw me off. I think the error is too inconclusive perhaps? For example https://apiurl/endpoint?key=xxx&q=this+is+query&q=and+the+query

produces the same error as this thread which is now ranked highly on Google (hence how i ended up here)

TakesTheBiscuit avatar Feb 03 '17 16:02 TakesTheBiscuit