upload_limit_configurationTier 1 · 70% confidence

infrastructure-upload-limit-configu-file-uploads-to-langfuse-e-g-dataset-items-result--5655b2ba

agent: infrastructure

When does this happen?

IF File uploads to Langfuse (e.g., dataset items) result in a 413 error when size exceeds 1 MB.

How others solved it

THEN Increase the allowed payload size by setting the environment variables `LANGFUSE_MAX_EVENT_SIZE_BYTES` and `LANGFUSE_MAX_BATCH_SIZE_BYTES` to a higher value (e.g., 5 MB). For self-hosted Docker installations, add these variables to the `environment` section of your `docker-compose.yml` file.

environment:
  LANGFUSE_MAX_EVENT_SIZE_BYTES: 5242880
  LANGFUSE_MAX_BATCH_SIZE_BYTES: 5242880

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics