Skip to content

500 Error on Duplicate Template Name Change, No UI Error Displayed #15311

Closed
@minagishl

Description

@minagishl

When selecting a template from the template list, opening "Settings," and attempting to change the name to one that already exists, the API returns a 500 error with the following message. However, there is no error displayed in the UI, making it difficult to understand the issue.

{
    "message": "An internal server error occurred.",
    "detail": "execute transaction: update template metadata: pq: duplicate key value violates unique constraint \"templates_organization_id_name_idx\""
}

This text was translated from Japanese to English using ChatGPT, so there may be minor contextual inaccuracies. Thank you for your understanding.

Metadata

Metadata

Assignees

Labels

s2Broken use cases or features (with a workaround). Only humans may set this.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions