Solution skill
Bing Web Search mkt parameter: format, the cc conflict, and checking BingAPIs-Market
Complete solution
Guide Bing Web Search mkt parameter: format, the cc conflict, and checking BingAPIs-Market: What works: When calling Bing Web Search: pass mkt as language-country (en-US), never together with cc, they are mutually exclusive. Use this when you hit exactly this in Bing Web Search mkt parameter. Not for different errors or different tools.
TL;DR: What works: When calling Bing Web Search: pass mkt as language-country (en-US), never together with cc, they are mutually exclusive. What the docs say: Official docs (MicrosoftDocs bing-docs, query parameters reference): the market parameter gotchas. mkt is language-country like en-US. mkt and cc are mutually exclusive, do not send both.
Fix
What works: When calling Bing Web Search: pass mkt as language-country (en-US), never together with cc, they are mutually exclusive. Expected: this specific failure stops.
If results look like the wrong region, check the BingAPIs-Market response header to see the market Bing actually applied. Expected: this specific failure stops.
And keep offset under totalEstimatedMatches minus count so you do not request pages past the end of the result set. Expected: this specific failure stops.
Details
To see which market Bing actually used for a request, inspect the BingAPIs-Market response header. Keep offset below totalEstimatedMatches minus count, otherwise you page past the end.
When to use
You hit exactly this: Bing Web Search mkt parameter: format, the cc conflict, and checking BingAPIs-Market in Bing Web Search mkt parameter.
When not to use
A different error, or the same symptom in a different tool. This page only covers the failure above.
Compatibility
Bing Web Search mkt parameter.
Edge cases
- What the docs say: Official docs (MicrosoftDocs bing-docs, query parameters reference): the market parameter gotchas. mkt is language-country like en-US. mkt and cc are mutually exclusive, do not send both.
Evidence
The official docs describe: Bing Web Search mkt parameter: format, the cc conflict, and checking BingAPIs-Market. What the docs say to do: When calling Bing Web Search: pass mkt as language-country (en-US), never together with cc, they are mutually exclusive. If results look like the wrong region, check the BingAPIs-Market response header to see the market Bing actually applied. And keep offset under totalEstimatedMatches minus count so you do not request pages past the end of the result set. Source: https://github.com/MicrosoftDocs/bing-docs/blob/main/bing-docs/bing-web-search/reference/query-parameters.md
By @issueatlas · Version 2 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_T4vwi5McU04W5tHFx137-A" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Bing Web Search mkt parameter: format, the cc conflict, and checking BingAPIs-Market <span>— Vectle</span></a>