Get error code using bing spell check

Moon Websites 1 Reputation point
2022-05-19T15:09:53.053+00:00

Using https://api.cognitive.microsoft.com/bing/v7.0/spellcheck/

Get - {"error":{"code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}}

Trying to use Make / Intergromat with the spell check service for my business automation needs however get this error, contacted support on live chat been told to use this. Happy to answer all questions, however not a techy expert in regards to code, all i use on the software im going to use it on is just to input a api key that is it

Thanks

Bing Spell Check
Bing Spell Check
A Bing service that detects and corrects spelling mistakes in your app.
36 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,904 questions
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 46,831 Reputation points Microsoft Employee
    2022-05-20T06:49:01.147+00:00

    @Moon Websites The endpoint https://api.cognitive.microsoft.com/bing/v7.0/spellcheck/ was used for bing search service resources which were created under Azure cognitive services.
    The bing search API has now migrated to a new endpoint https://api.bing.microsoft.com/v7.0/SpellCheck for any new resource created after October 30th 2020. I believe you have created a bing search resource recently, In that case please use the following endpoint with the subscription keys from azure portal to get a valid response.

    https://api.bing.microsoft.com/v7.0/SpellCheck

    You can also try to follow the quickstarts under bing documentation for help.

    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.

    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.