I’ve set up LanguageTool using the meyay/languagetool Docker image. The /v2/check
endpoint works fine, but when I try to access /v2/words
, I get this error:
This end point needs a user id
From the logs:
org.languagetool.server.BadRequestException: This end point needs a user id
at org.languagetool.server.ApiV2.getUserLimits(ApiV2.java:416)
Questions:
- Is the
/v2/words
endpoint available in the self-hosted version? - How can I configure user authentication for it?
- Are there any environment variables I need to set in my Docker Compose file?
My current config:Preformatted text
languagetool:
image: meyay/languagetool:latest
container_name: languagetool
restart: unless-stopped
user: "1000:1000"
ports:
- 8081:8081
environment:
download_ngrams_for_langs: en
Any help would be appreciated!