diff --git a/crates/arroyo-api/src/connection_tables.rs b/crates/arroyo-api/src/connection_tables.rs index df110b893..82f705886 100644 --- a/crates/arroyo-api/src/connection_tables.rs +++ b/crates/arroyo-api/src/connection_tables.rs @@ -91,6 +91,9 @@ async fn get_and_validate_connector( connection_profile.config.clone(), ) } else { + if connector.metadata().connection_config.is_some() { + return Err(bad_request("this connector requires a connection profile, but `connectionProfileId` was not specified")); + } (None, json! {{}}) }; diff --git a/webui/index.html b/webui/index.html index 5af6cdf4e..7fc55245b 100644 --- a/webui/index.html +++ b/webui/index.html @@ -8,8 +8,8 @@