diff --git a/airbyte-webapp/src/views/Connection/ConnectionForm/formConfig.tsx b/airbyte-webapp/src/views/Connection/ConnectionForm/formConfig.tsx index a130831c81cc..d0b3ba445089 100644 --- a/airbyte-webapp/src/views/Connection/ConnectionForm/formConfig.tsx +++ b/airbyte-webapp/src/views/Connection/ConnectionForm/formConfig.tsx @@ -115,7 +115,7 @@ export const connectionValidationSchema = (mode: ConnectionFormMode) => .required("form.empty.error"), namespaceFormat: yup.string().when("namespaceDefinition", { is: NamespaceDefinitionType.customformat, - then: yup.string().required("form.empty.error"), + then: yup.string().trim().required("form.empty.error"), }), prefix: yup.string(), syncCatalog: yup.object({