[GH-ISSUE #461] title limit - String must contain at most 100 character(s) #295

Closed
opened 2026-03-02 11:48:33 +03:00 by kerem · 2 comments
Owner

Originally created by @mrinc on GitHub (Oct 3, 2024).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/461

m [TRPCError]: [
  {
    "code": "too_big",
    "maximum": 100,
    "type": "string",
    "inclusive": true,
    "exact": false,
    "message": "String must contain at most 100 character(s)",
    "path": [
      "title"
    ]
  }
]
    at p (/app/apps/web/.next/server/chunks/2129.js:4:32074)
    at async d (/app/apps/web/.next/server/chunks/2129.js:4:32960)
    ... 5 lines matching cause stack trace ...
    at async g (/app/apps/web/.next/server/app/api/trpc/[trpc]/route.js:1:4333) {
  code: 'BAD_REQUEST',
  [cause]: o [ZodError]: [
    {
      "code": "too_big",
      "maximum": 100,
      "type": "string",
      "inclusive": true,
      "exact": false,
      "message": "String must contain at most 100 character(s)",
      "path": [
        "title"
      ]
    }
  ]
      at get error [as error] (/app/apps/web/.next/server/chunks/8109.js:58:14318)
      at Q.parseAsync (/app/apps/web/.next/server/chunks/8109.js:58:16801)
      at async p (/app/apps/web/.next/server/chunks/2129.js:4:32048)
      at async d (/app/apps/web/.next/server/chunks/2129.js:4:32960)
      at async d (/app/apps/web/.next/server/chunks/2129.js:4:32960)
      at async d (/app/apps/web/.next/server/chunks/2129.js:4:32960)
      at async p (/app/apps/web/.next/server/chunks/2129.js:4:33299)
      at async /app/apps/web/.next/server/app/api/trpc/[trpc]/route.js:1:4007
      at async Promise.all (index 0)
      at async g (/app/apps/web/.next/server/app/api/trpc/[trpc]/route.js:1:4333) {
    issues: [ [Object] ],
    addIssue: [Function (anonymous)],
    addIssues: [Function (anonymous)],
    errors: [ [Object] ]
  }
}

Ref - github.com/hoarder-app/hoarder@8b69cddfb9/packages/shared/types/bookmarks.ts (L5)

Is there a reason that the title for a bookmark was limited to 100 chars?

Or could we up that to 255?

Originally created by @mrinc on GitHub (Oct 3, 2024). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/461 ``` m [TRPCError]: [ { "code": "too_big", "maximum": 100, "type": "string", "inclusive": true, "exact": false, "message": "String must contain at most 100 character(s)", "path": [ "title" ] } ] at p (/app/apps/web/.next/server/chunks/2129.js:4:32074) at async d (/app/apps/web/.next/server/chunks/2129.js:4:32960) ... 5 lines matching cause stack trace ... at async g (/app/apps/web/.next/server/app/api/trpc/[trpc]/route.js:1:4333) { code: 'BAD_REQUEST', [cause]: o [ZodError]: [ { "code": "too_big", "maximum": 100, "type": "string", "inclusive": true, "exact": false, "message": "String must contain at most 100 character(s)", "path": [ "title" ] } ] at get error [as error] (/app/apps/web/.next/server/chunks/8109.js:58:14318) at Q.parseAsync (/app/apps/web/.next/server/chunks/8109.js:58:16801) at async p (/app/apps/web/.next/server/chunks/2129.js:4:32048) at async d (/app/apps/web/.next/server/chunks/2129.js:4:32960) at async d (/app/apps/web/.next/server/chunks/2129.js:4:32960) at async d (/app/apps/web/.next/server/chunks/2129.js:4:32960) at async p (/app/apps/web/.next/server/chunks/2129.js:4:33299) at async /app/apps/web/.next/server/app/api/trpc/[trpc]/route.js:1:4007 at async Promise.all (index 0) at async g (/app/apps/web/.next/server/app/api/trpc/[trpc]/route.js:1:4333) { issues: [ [Object] ], addIssue: [Function (anonymous)], addIssues: [Function (anonymous)], errors: [ [Object] ] } } ``` Ref - https://github.com/hoarder-app/hoarder/blob/8b69cddfb92b3b7548d3f90dbec1038c728ea5d9/packages/shared/types/bookmarks.ts#L5 Is there a reason that the title for a bookmark was limited to 100 chars? Or could we up that to 255?
kerem 2026-03-02 11:48:33 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@kamtschatka commented on GitHub (Oct 3, 2024):

  1. We also have a discord channel if you want to talk directly to us ;-)
  2. My guess is just to have a limit and the number is either arbitrary or chosen to not overload the UI
<!-- gh-comment-id:2391978463 --> @kamtschatka commented on GitHub (Oct 3, 2024): 1. We also have a discord channel if you want to talk directly to us ;-) 2. My guess is just to have a limit and the number is either arbitrary or chosen to not overload the UI
Author
Owner

@MohamedBassem commented on GitHub (Feb 16, 2025):

Limit is now at 250.

<!-- gh-comment-id:2661629805 --> @MohamedBassem commented on GitHub (Feb 16, 2025): Limit is now at 250.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/karakeep#295
No description provided.