Error 403 when creating an Azure Cognitive Search index with REST APIs

Elizabeth Moore 0 Reputation points Microsoft External Staff
2023-10-17T13:46:58.88+00:00

I'm using Postman and REST APIs to try and create an index for Azure Cognitive Search, but I keep getting a 403 forbidden error. Has anyone else experienced this and found a solution?

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,601 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2023-10-17T13:46:58.88+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The 403 Forbidden error when creating an Azure Cognitive Search index with REST APIs is likely due to an incorrect or missing admin API key. Make sure that you have provided the correct admin API key in Postman, as well as the other required variables such as the search service name, index name, connection string to your Azure Storage account, and container name. Double-check that you have followed the instructions in the tutorial Tutorial: Use REST and AI to generate searchable content from Azure blobs correctly, and that you have created a search service and obtained the necessary information such as the service URL and admin key.


    References:


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.