Calling the bing search API returned error 503

leiga 0 Reputation points
2024-05-23T08:41:14.7633333+00:00

Calling the bing search API returned error 503
User's image

Bing Web Search
Bing Web Search
A Bing service that gives you enhanced search details from billions of web documents.
160 questions
Bing News Search
Bing News Search
A Bing service that supports searching for news and get comprehensive results.
50 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. dupammi 8,535 Reputation points Microsoft Vendor
    2024-05-23T10:50:41.3733333+00:00

    Hi @leiga

    Thank you for using the Microsoft Q&A forum.

    Based on above error screenshot, it seems that the issue is related to the use of HTML format and the market being set to zh-CN. I suggest you provide the plain text of your query and using plain text for the search, as the service is available. This should help resolve the error 503 that you are encountering while calling the Bing search API. In short, error is something to do with the combo of query content you were providing and HTML formatting.

    I tried to repro with proper query content, and it was working fine at me end.

    I hope you understand. Thank you.

    0 comments No comments

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.