diff --git a/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/OAuthPathExtractor.java b/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/OAuthPathExtractor.java index ddf74bc4767e..4a6ed4580020 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/OAuthPathExtractor.java +++ b/airbyte-server/src/main/java/io/airbyte/server/handlers/helpers/OAuthPathExtractor.java @@ -17,7 +17,7 @@ public class OAuthPathExtractor { public static Map> extractOauthConfigurationPaths(final JsonNode configuration) { - if (configuration.has(PROPERTIES) && configuration.get(PROPERTIES).isObject()) { + if (configuration != null && configuration.has(PROPERTIES) && configuration.get(PROPERTIES).isObject()) { final Map> result = new HashMap<>(); configuration.get(PROPERTIES).fields().forEachRemaining(entry -> {