meilisearch-js: Auth Header required Error , even when api key is provided

so i was using meilisearch with nestJs , i hosted it on Azure , but i was get auth header missing error , i seeked support on discord .

The main issue is when i open the hosted instance on azure directly , on web and then enter api key , it works fine , and the system also works on localhost , but on azure hosted , when i send a request , i get missing auth header in nestJs

this._client = new MeiliSearch({
      host: 'myAzureUrl',
      apiKey: 'myApiKey',
    });

This is the way i’m providing ApiKey and Url , Please Check image

About this issue

  • Original URL
  • State: closed
  • Created 5 months ago
  • Comments: 16 (6 by maintainers)

Most upvoted comments

I can DM you the url and api key for the server if it’s helpful for testing