Skip to content

Error: KV GET failed: 414 UTF-8 encoded length of 528 exceeds key length limit of 512. #1049

Description

@sentry

Sentry Issue: DIST-WORKER-PROD-FA

Error: KV GET failed: 414 UTF-8 encoded length of 528 exceeds key length limit of 512.
  at result (./dist/../src/providers/kvProvider.ts:33:44)
  at retryWrapper (./dist/../src/utils/provider.ts:13:28)
  at KvProvider.readDirectory (./dist/../src/providers/kvProvider.ts:32:20)
  at R2Provider.readDirectory (./dist/../src/providers/r2Provider.ts:112:20)
  at handleDirectory (./dist/../src/middleware/r2Middleware.ts:49:18)
...
(4 additional frame(s) were not displayed)

This issue was automatically created by Sentry via Node.js Worker Default Rule

Activity

  1. MattIPv4 commented on Oct 1, 2026

    @MattIPv4
    Member

    https://nodejs.org/download/nightly/%29%E3%81%AE%E3%83%90%E3%82%A4%E3%83%8A%E3%83%AA%E3%83%BC%E3%82%84%5B%E9%81%8E%E5%8E%BB%E3%81%AE%E3%83%AA%E3%83%AA%E3%83%BC%E3%82%B9%5D%28https:/nodejs.org/download/release/%29%E3%80%81%E4%BB%96%E3%81%AE%E3%83%97%E3%8... is the (truncated) URL tracked that caused this, so very clearly a malformed request from a user.

    We probably could do some proactive rejection of such a request (404'ing it, as I think we're safe to say that such a request is for a file/directory that won't exist), but definitely not a major issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions