Meilisearch API Key is Invalid

Hi,

I have a problem when I was pressing a reindex bottom the error will show.

The Studio servers encountered an error

{“user_message”:[“General indexing error occurred”]}

How can I fixed this ?

And here is my addition meilisearch logs:

meilisearch-1  | 2025-11-12T03:29:21.508003Z  WARN HTTP request{method=POST host=“meilisearch:7700” route=/indexes/tutor_course_info/documents query_parameters= user_agent=Meilisearch Python (v0.34.1) status_code=403 error=The provided API key is invalid.}: tracing_actix_web::middleware: Error encountered while processing the incoming HTTP request: ResponseError { code: 403, message: “The provided API key is invalid.”, error_code: “invalid_api_key”, error_type: “auth”, error_link: “ https://docs.meilisearch.com/errors#invalid_api_key” }
meilisearch-1  | 2025-11-12T03:29:21.508594Z  INFO HTTP request{method=POST host=“meilisearch:7700” route=/indexes/tutor_course_info/documents query_parameters= user_agent=Meilisearch Python (v0.34.1) status_code=403 error=The provided API key is invalid.}: meilisearch: close time.busy=610µs time.idle=739µs
meilisearch-1  | 2025-11-12T03:29:29.863491Z  WARN HTTP request{method=POST host=“meilisearch:7700” route=/indexes/tutor_course_info/documents query_parameters= user_agent=Meilisearch Python (v0.34.1) status_code=403 error=The provided API key is invalid.}: tracing_actix_web::middleware: Error encountered while processing the incoming HTTP request: ResponseError { code: 403, message: “The provided API key is invalid.”, error_code: “invalid_api_key”, error_type: “auth”, error_link: “ https://docs.meilisearch.com/errors#invalid_api_key” }
meilisearch-1  | 2025-11-12T03:29:29.864062Z  INFO HTTP request{method=POST host=“meilisearch:7700” route=/indexes/tutor_course_info/documents query_parameters= user_agent=Meilisearch Python (v0.34.1) status_code=403 error=The provided API key is invalid.}: meilisearch: close time.busy=229µs time.idle=689µs

Thank you!

@itsmeishere hi and welcome to the community!

@braden do we have docs on the “invalid api key” error?

@itsmeishere It sounds like Tutor did not configure Meilisearch correctly; perhaps an upgrade issue. Is this a new instance or did you recently upgrade the Open edX / Tutor version?

You can try to access the Meilisearch UI at meilisearch.local.openedx.io:7700 using the API key that you get from tutor config printvalue MEILISEARCH_API_KEY. If that doesn’t work, there is some mismatch between your tutor config and your Meilisearch installation.

You can try the following procedure to force the configuration of Meilisearch in case it didn’t get configured properly:

tutor [local|dev] stop
tutor config save
tutor [local|dev] start -d meilisearch
tutor [local|dev] do init --limit=meilisearch
tutor [local|dev] start

Substitute “local” or “dev” based on which type of tutor installation you are using.

@sarina or @itsmeishere: For visibility, would you mind editing the post title to include “Meilisearch API key is invalid” ?

I hit this same issue when running tutor dev launch on an existing install. I tried starting it, initializing it, and restarting the launch, but got the same error.

My environment was in a strange state, so I deleted env/ and regenerated it. After that, tutor dev launch showed the invalid key error, so I followed the steps mentioned above. What finally worked was removing all Meilisearch settings from my config.yml and generating the environment again.