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

QnA Maker error 500

Open tamerin-tech opened this issue 6 years ago • 8 comments

Calling the QnA Maker API returns this error: status code: 500 body: {"error":{"code":"Unspecified","message":"Something happened. Please retry after some time."}}

the same happens when I try to test it directly on the qnamaker.ai platform

image

note - I'm using Hebrew as the language for this KB language

tamerin-tech avatar Oct 19 '20 18:10 tamerin-tech

I have the same problem. I'm using Spanish as the language for my KB language

cahuertav avatar Oct 19 '20 20:10 cahuertav

@tamerin-tech, what specific operation are you trying to perform using the QnAMaker API? Do you get any additional error on the Dev Console(Ctrl + Shift + I) in the portal? Also, are you getting this error for a specific KB or it happens for the other KBs as well?

anusharr avatar Oct 20 '20 18:10 anusharr

@anusharavindrar I mainly get this error when trying to use the qnamaker platform (qnamaker.ai)

tamerin-tech avatar Oct 20 '20 19:10 tamerin-tech

I am facing the same issue " Something happened. Please retry after some time." when using Azure QnA service and Chinese-Simplifies as language. For English everything is running fine. Still, no resolution found. After republish the app-service it starts working for a few requests but then the same error starts to occur.

skamranhaq avatar Oct 21 '20 10:10 skamranhaq

@tamerin-tech, can you answer my questions above to help understand the issue better? @cahuertav & @skamranhaq, are you guys experiencing this for a specific KB(with Spanish & Chinese language) or this happens for every KB(with a language other than English) on the portal?

anusharr avatar Oct 22 '20 18:10 anusharr

@anusharavindrar It was only happening with Chinese KB, with English everything was fine. We resolved this by shifting our App Service to Plan S1. If the issue was related to quota, Azure should message properly instead of 500 errors. I downloaded a trace file but its size is around 40mb, not able to attach here.

skamranhaq avatar Oct 22 '20 18:10 skamranhaq

@anusharavindrar - now it's working - but haven't changed anything on my side... my request (REST):

POST https://....-qna-maker.azurewebsites.net/qnamaker/knowledgebases/....../generateAnswer
payload: {question: "..."}

now I'm getting full response: {"answers":[{"questions":["..."],"answer":"**....","score":90.0,"id":30,"source":"....docx","metadata":[],"context":{"isContextOnly":false,"prompts":[]}}],"activeLearningEnabled":false}

is the QnAMaker a stable product or still under development?

tamerin-tech avatar Oct 22 '20 18:10 tamerin-tech

@tamerin-tech, glad to hear that it's working now. QnAMaker is a stable product, the issue you encountered might be due to some outage. Closing the issue. Please feel free to re-open if needed.

anusharr avatar Oct 23 '20 20:10 anusharr