Request Failing for Bing Entity Search.

Mike Ubezzi 2,776 Reputation points

"I am trying to make a request using the following URL and Keys.




However, I get the following response - (even though there is a valid value for the mkt parameter in the request)

    ""_type"": ""ErrorResponse"",
    ""errors"": [
            ""_type"": ""Error"",
            ""code"": ""InvalidRequest"",
            ""subCode"": ""ParameterInvalidValue"",
            ""message"": ""Parameter has invalid value."",
            ""moreDetails"": ""Entity Search is not allowed for this market."",
            ""parameter"": ""mkt"",
            ""value"": """"

Why is the service not reading the ""mkt"" parameter from the request ?"

[Note: As we migrate from MSDN, this question has been posted by an Azure Cloud Engineer as a frequently asked question] Source: MSDN

Bing Entity Search
Bing Entity Search
A Bing service that enriches your experiences by identifying and augmenting entity information from the web.
10 questions
0 comments No comments
{count} votes

Accepted answer
  1. Rohit Mungi 801 Reputation points

    It looks like the mkt parameter is not passed as a query parameter instead it is used as a header which is not valid. Could you please pass the same as query parameter and check if the request succeeds.

    Source: MSDN

    0 comments No comments

0 additional answers

Sort by: Most helpful