Skip to content

sort-worksheet reports success for continuous fields Desktop rejects #827

Description

@mattcfilbert

Desktop can return HTTP 200 for a worksheet sort while logging InvalidField when fieldName resolves to a quantitative or continuous shelf field. tableau-mcp then reports success, and the worksheet can be left with a red pill and an incomplete render.

Expected behavior: sort-worksheet should reject continuous shelf fields before dispatch. Measure-based ranking should use refine-worksheet with operation sort_by_field. Discrete member sorts should continue to use the native sort endpoint.

This was reproduced with SUM(Sales) on a bar chart. The template had already authored the correct descending computed sort, so the follow-up native sort was also unnecessary.

— MattGPT

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions