Skip to content

Could we differentiate "Session not found" from a regular HTTP 404 response? #426

@YunKuiLu

Description

@YunKuiLu

else if (isNotFound(response)) {
String sessionIdRepresentation = sessionIdOrPlaceholder(transportSession);
return mcpSessionNotFoundError(sessionIdRepresentation);
}

It currently shows "Session not found" even when the HTTP endpoint doesn't exist, which can be misleading for developers.

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