Skip to content

Confusing error message when prefix missing trailing slashΒ #2608

@jwhartley

Description

@jwhartley

Problem

When using flowctl catalog list --prefix Maverick_Automation (without trailing slash), the error message is:

user is not authorized to Maverick_Automation

This is confusing because the user IS authorized - the issue is just the missing trailing slash.

Expected Behavior

Either:

  1. Accept the prefix without trailing slash, OR
  2. Provide a clearer error message like: "Prefix must end with '/' - did you mean 'Maverick_Automation/'?"

Steps to Reproduce

# This fails with confusing auth error:
flowctl catalog list --prefix Maverick_Automation

# This works:
flowctl catalog list --prefix Maverick_Automation/

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