Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

style: updated subdomain already exists UI error on 409 (#9661)

Ishan7d6918f8b69d
diff --git a/frontend/src/container/CustomDomainSettings/CustomDomainSettings.tsx b/frontend/src/container/CustomDomainSettings/CustomDomainSettings.tsx
index 730d138323..654a3b5e1e 100644
--- a/frontend/src/container/CustomDomainSettings/CustomDomainSettings.tsx
+++ b/frontend/src/container/CustomDomainSettings/CustomDomainSettings.tsx
@@ -266,7 +266,10 @@ export default function CustomDomainSettings(): JSX.Element {
<div className="custom-domain-settings-modal-error">
{updateDomainError.status === 409 ? (
<Alert
- message="You’ve already updated the custom domain once today. To make further changes, please contact our support team for assistance."
+ message={
+ (updateDomainError?.response?.data as { error?: string })?.error ||
+ 'You’ve already updated the custom domain once today. To make further changes, please contact our support team for assistance.'
+ }
type="warning"
className="update-limit-reached-error"
/>