Skip to content

The app server: an earlier card's address gets the current card (Grok: read-resource failed: 400) #278

Done

Description

@alekswebnet

After #277 was deployed, Grok could not load the app: "Couldn't load this app — read-resource failed: 400" (the owner, 2026-11-25). ChatGPT's old replies still play.

The card's address carries a hash of the card (ui://h5p-play/card-<hash>.html), so a chat that keeps a card by its address fetches a changed one. #277 changed the card, from card-df8ccbdd2aa8.html to card-f5e9a29b5f1e.html, and the server answers only the current address: the earlier one gets "Resource not found" (JSON-RPC -32602), checked on mcp.embed-my.org. Grok kept the tool list, or the reply, from before the deploy and asked the earlier address. Every change of the card would do this again.

The fix: an earlier card's address (card- and twelve hex digits) gets the current card, as a resource template that is not listed. The card plays what an earlier one was handed, and the address still changes with the card, so a chat that keeps cards by address still fetches a new one.

Until it is deployed, reconnecting the app in Grok fetches the new tool list.

Activity

  1. added a commit that references this issue on Nov 25, 2026
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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions