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

Ozone/Labeler Update Fails with "Request entity too large" when adding large number of labels/localizations #2803

Open
astrabun opened this issue Sep 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@astrabun
Copy link

astrabun commented Sep 9, 2024

Describe the bug

When using a labeler (Ozone), I am unable to add new label definitions or localized descriptions of existing labels once the payload reaches a certain size. Error: request entity too large

To Reproduce

Steps to reproduce the behavior:

  1. Log into Ozone
  2. Navigate to "Configure"
  3. Use this JSON as the service record: https://gist.github.com/astrabun/402681bc62cdfe85af418cfc002255ec <-- Error: request entity too large

Expected behavior

The labels should be updated with the new translations and new label values.

Details

This occurs both using the Ozone UI as well as from TypeScript with await agent.withProxy("atproto_labeler", ozone_service_user_did).api.com.atproto.repo.putRecord({...});

  • Operating system: Ubuntu 24.04.1 LTS
  • Node version: Node.js v22.7.0

Additional context

I recognize my use case has a LOT of label definitions (500+), but I expect this same problem is possible with a labeler with fewer overall labels but more translations for each (e.g., 100 labels with 5+ different locale objects each would probably experience the same as I'm seeing, with 500+ labels with 1-2 locale objects).

@astrabun astrabun added the bug Something isn't working label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant