Question Answering method "GetAnswers" is failing since thursday 15th

Romek 5 Reputation points
2025-05-20T07:13:42.72+00:00

Hello.

Since thursday the 15th of May, the method "GetAnswers" is failing with a 404 Bad Request. It only fails when we use the overload method of using the Method with a QnaId instead of TextMessage. It is not possible to add both at once. So we have a function similar to this:

if( qnaid != null)

response = GetAnswers(qnaId , x , x )

else {

respone = GetAnswers(Message , x ,x )

The GetAnswers with message is working fine, only the one using qnaId is failing. We did not change anything in our code regarding to this method. And since it's part of the Microsoft Package I am not sure why this is happening? We now by-pass the method with out own HTTPS call, but we want this to be temporary. Did i miss an update or something?

Hope to hear from someone.

Azure AI Language
Azure AI Language
An Azure service that provides natural language capabilities including sentiment analysis, entity extraction, and automated question answering.
522 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Ravada Shivaprasad 545 Reputation points Microsoft External Staff Moderator
    2025-05-28T20:42:39.7733333+00:00

    Hi Romek

    The issue you are encountering with the GetAnswers method when using the overload with a QnaId instead of TextMessage appears to be related to how the QnaId parameter is being processed. Since the method works fine when using TextMessage, the problem likely stems from either an update in the API behavior or a misconfiguration in handling the QnaId. To troubleshoot this, you should first check the official documentation or release notes for any recent changes that might have affected this functionality. Additionally, reviewing the code implementation of the GetAnswers method can help ensure that the QnaId parameter is correctly formatted and passed. It is also important to verify if there are any specific requirements or restrictions when using QnaId, as these could be causing the 404 Bad Request error.
    For further insights, you can refer to the Microsoft Q&A discussion and a related Stack Overflow thread that address similar issues with the GetAnswers method.

    If you need any further assistance, please let me know!

    Thanks


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.