zai-org / zai-org/feedback

[Bug] SyntaxError on chat.z.ai - API returns HTML + no file access

Open
#210 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
22
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Bug

Multiple users report SyntaxError on chat.z.ai where API returns HTML instead of JSON. Also cannot preview/download session files.

Error Message:
SyntaxError: Unexpected token <, "<!doctype h"... is not valid JSON
Root Cause:
  • Frontend expects JSON, server returns HTML (error page/502/503)
  • Affects multiple users intermittently
Missing Features:
  • No file preview/download
  • No session export/import
  • No chat history access
Discord Reports:
  1. https://discordapp.com/channels/1346756824233148527/1532694419357040691
  2. https://discordapp.com/channels/1346756824233148527/1532786000777187388
  3. https://discordapp.com/channels/1346756824233148527/1529546645476212887
  4. https://discordapp.com/channels/1346756824233148527/1528739270704107698/1529479044557701233
Severity: P0 Critical
  • Core functionality broken for multiple users
  • Cryptic errors shown to end users
  • No way to save/export work

Reported 2026-07-31

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report names no source files or tests. Start by reproducing the failure on chat.z.ai and inspect the API response when HTML is returned instead of JSON, along with the session-file behavior. Done would require a defined scope covering the JSON error handling and the requested file and history capabilities.

Written by the indexing model from the issue text.

Assessment

Domain
api, frontend
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
18/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.