There was error creating your knowledge base 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.

igor rangel 0 Reputation points
2023-01-13T16:42:38.2866667+00:00

Hi comunity , i can't put knowledge base .

please help me

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
941 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dillon Silzer 57,826 Reputation points Volunteer Moderator
    2023-01-13T18:04:36.9633333+00:00

    Hi igor,

    Based on a similar post ensure that your subscription key is a part of your header and not in the actual https link.

    As an example of an API call do not use Subscription-Key in the URL - it must be done through headers:

    https://api.bing.microsoft.com/v7.0/search/?q=microsoft+devices&Ocp-Apim-Subscription-Key=xxx

    Cited from https://learn.microsoft.com/en-us/answers/questions/189943/ocp-apim-subscription-key-is-not-working


    If this is helpful please accept answer.

    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.