kafbat/kafka-ui

FE: Messages: JSON path errors crash the page

Open

#1,436 opened on Oct 23, 2025

 (4 comments) (0 reactions) (0 assignees)TypeScript (363 forks)auto 404
area/messagesgood first issuehacktoberfestscope/frontendstatus/triage/completedtype/bug

Repository metrics

Stars
 (2,554 stars)
PR merge metrics
 (PR metrics pending)

Description

Issue submitter TODO list

  • I've looked up my issue in FAQ
  • I've searched for an already existing issues here
  • I've tried running main-labeled docker image and the issue still persists there
  • I'm running a supported version of the application which is listed here

Describe the bug (actual behavior)

if preview jsonPath expression causes some error, for example:

since previews are stored in the local storage of the browser. So if the preview does cause errors, the issue persists until it is removed.

And after clearing the kafbat-ui-message-preview value of the local storage, I was able to access the topic again.

Expected behavior

app should not save values causes error in local-storage, or try to delete it after error.

Your installation details

using kafbat 1.16.0 and helm chart

Steps to reproduce

use an invalid jsonPath expression in Preview

Screenshots

No response

Logs

No response

Additional context

No response

Contributor guide