Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing error code for batch_not_found #3120

Open
ellnix opened this issue Jan 23, 2025 · 0 comments · May be fixed by #3121
Open

Missing error code for batch_not_found #3120

ellnix opened this issue Jan 23, 2025 · 0 comments · May be fixed by #3121

Comments

@ellnix
Copy link
Contributor

ellnix commented Jan 23, 2025

There seems to be one for task_not_found, but not batch_not_found.

curl --silent 'http://localhost:7700/batches/123123123' -H 'Authorization: Bearer masterKey' | jq
{
  "message": "Batch `123123123` not found.",
  "code": "batch_not_found",
  "type": "invalid_request",
  "link": "https://docs.meilisearch.com/errors#batch_not_found"
}

Judging by the "link" field in the response, it's supposed to be there.

ellnix added a commit to ellnix/meilisearch-documentation that referenced this issue Jan 23, 2025
It was linked before but did not exist. Copied word for word from
tasks_not_found (with replacements of course), sorted alphabetically.
See issue meilisearch#3120
@ellnix ellnix linked a pull request Jan 23, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant