Skip to content

502 Relay error: json: key must be a string at line 1 column 2 #1261

Closed

Description

@dreamsOverlord

After updating the code and updating the application, I get this error when trying to access a website:

502
Relay error: json: key must be a string at line 1 column 2

Activity

  1. 88888Z commented on May 17, 2026

    @88888Z

    when you are updating code.gs then also use the corresponding version of client in same release with the code.gs file that you deployed

  2. therealaleph commented on May 17, 2026

    @therealaleph
    Owner

    This matches the Code.gs v1.9.28 JSON regression in #1245. The fix is merged in #1265 and v1.9.29 is building.

    Use the corrected assets/apps_script/Code.gs, save it in Apps Script, and deploy a New version. The client and Code.gs should come from the same release, but the key detail here is that the deployed Apps Script version must actually be updated.


    Answered via LLM, Supervised @therealaleph

  3. therealaleph commented on May 17, 2026

    @therealaleph
    Owner

    Duplicate of #1245; fixed by #1265.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions