Skip to content

Dashboard update fails when user-defined ID is a UUID matching the server-assigned ID #101

@mmanciop

Description

@mmanciop

When updating a dashboard via PUT (/api/dashboards/{originOrId}), the CLI sends the user-defined ID in both the URL path parameter and the request body (metadata.dash0Extensions.id).
The server-side validation rejects the request when the body ID is a UUID that matches the dashboard's own server-assigned ID, because it interprets the duplicate as a conflict between the path parameter and the body field.

This affects both dash0 dashboards update -f <file> and dash0 apply -f <file> when the dashboard definition contains a dash0Extensions.id that happens to be a UUID.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions