Skip to content

Duplicating an event type to an existing slug triggers unexpected error; but it's expected. #24924

@emrysal

Description

@emrysal

When attempting to duplicate an event type and I already have one with the same slug; this happens.

Image

Response payload:

[
    {
        "error": {
            "json": {
                "message": "Unique constraint violation while creating a duplicate event.",
                "code": -32600,
                "data": {
                    "code": "BAD_REQUEST",
                    "httpStatus": 400,
                    "path": "duplicate"
                }
            }
        }
    }
]

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