[GH-ISSUE #800] [Issue]: JSONL chat exports fail to re-import with missing chatId #395

Closed
opened 2026-10-20 17:28:23 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @cha1latte on GitHub (May 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/800

Originally assigned to: @cha1latte on GitHub.

Summary

Importing a .jsonl chat export created by Marinara Engine 1.5.9 fails with Import failed: Missing chatId on Termux.

Source: https://discord.com/channels/1417099416812392641/1503765144696520826

Expected behavior

A chat exported from Marinara Engine 1.5.9 as .jsonl should import back into Marinara Engine 1.5.9 without requiring manual edits to the file.

Actual behavior

Importing the exported .jsonl file fails and shows the error Import failed: Missing chatId.

The provided sample file, Princess Vivienne.jsonl, has 18 JSONL lines. The first line contains export metadata fields (user_name, character_name, create_date, and chat_metadata), and later lines contain message fields (name, is_user, is_system, mes, and send_date). A text search of the provided export found no chatId, chat_id, or chatid field.

Steps to reproduce

  1. Run Marinara Engine 1.5.9 on Termux.
  2. Export a chat file as .jsonl.
  3. Attempt to import that same exported .jsonl file.
  4. Observe that import fails with Import failed: Missing chatId.

Marinara Engine version

ME 1.5.9

Install type

Termux

OS + version

Termux, host OS/version not specified.

Browser or app shell

Not specified.

Screenshots or video

Source Discord thread includes a screenshot of the in-app error toast: Import failed: Missing chatId.

Logs

Not provided.

Additional context

Reporter confirmed the .jsonl file was exported from Marinara Engine on the same day using ME 1.5.9.

Provided attachment: Princess Vivienne.jsonl (15.42 KB). The issue body intentionally summarizes the file structure instead of pasting chat contents.

Template check

  • I provided the required summary, behavior, reproduction, and environment details.
  • If this is a visual/UI bug, blank screen, layout issue, mobile/responsive issue, incorrect image or sprite, broken animation, or unexpected error state, I attached screenshots or video.
Originally created by @cha1latte on GitHub (May 13, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/800 Originally assigned to: @cha1latte on GitHub. ## Summary Importing a `.jsonl` chat export created by Marinara Engine 1.5.9 fails with `Import failed: Missing chatId` on Termux. Source: https://discord.com/channels/1417099416812392641/1503765144696520826 ## Expected behavior A chat exported from Marinara Engine 1.5.9 as `.jsonl` should import back into Marinara Engine 1.5.9 without requiring manual edits to the file. ## Actual behavior Importing the exported `.jsonl` file fails and shows the error `Import failed: Missing chatId`. The provided sample file, `Princess Vivienne.jsonl`, has 18 JSONL lines. The first line contains export metadata fields (`user_name`, `character_name`, `create_date`, and `chat_metadata`), and later lines contain message fields (`name`, `is_user`, `is_system`, `mes`, and `send_date`). A text search of the provided export found no `chatId`, `chat_id`, or `chatid` field. ## Steps to reproduce 1. Run Marinara Engine 1.5.9 on Termux. 2. Export a chat file as `.jsonl`. 3. Attempt to import that same exported `.jsonl` file. 4. Observe that import fails with `Import failed: Missing chatId`. ## Marinara Engine version ME 1.5.9 ## Install type Termux ## OS + version Termux, host OS/version not specified. ## Browser or app shell Not specified. ## Screenshots or video Source Discord thread includes a screenshot of the in-app error toast: `Import failed: Missing chatId`. ## Logs Not provided. ## Additional context Reporter confirmed the `.jsonl` file was exported from Marinara Engine on the same day using ME 1.5.9. Provided attachment: `Princess Vivienne.jsonl` (15.42 KB). The issue body intentionally summarizes the file structure instead of pasting chat contents. ## Template check - [ ] I provided the required summary, behavior, reproduction, and environment details. - [ ] If this is a visual/UI bug, blank screen, layout issue, mobile/responsive issue, incorrect image or sprite, broken animation, or unexpected error state, I attached screenshots or video.
bsakaguchi 2026-10-20 17:28:23 +07:00
  • closed this issue
  • added the
    bug
    label
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
Pasta-Devs/Marinara-Engine#395
No description provided.