Skip to content

Registry dashboard "Publishers & properties" panel throws raw JSON-parse error instead of a clean "not authorized" message #7333

Description

@EvgenyAndroid

When an agent is not listed in its publisher's adagents. json (e. g. Entry is stale, mismatched path, or missing), the registry dashboard's "Publishers & properties" panel surfaces a raw client-side error instead of a clean authorization-failure message:Unexpected token '<', "<!DOCTYPE "... is not valid JSONThis reads like the fetch to adagents. json itself failed or returned HTML (e. g. A 404 page), which sent debugging down the wrong path — hostname resolution, wrong-domain fetching, etc. The actual root cause was unrelated: the publisher's adagents. json was valid and reachable, but the specific agent entry was stale (bare domain instead of the full agent URL with path), so the agent simply wasn't in the authorized_agents list.

Happy to go deeper on any of this if useful.

Activity

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

    admin-toolInternal tools for AAO staffbugSomething isn't workingclaude-triagedIssue has been triaged by the Claude Code triage routine. Remove to re-triage.priority:P1High priority: important bug or follow-up, not immediate P0

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions