diff --git a/src/main/java/com/firebolt/jdbc/client/FireboltClient.java b/src/main/java/com/firebolt/jdbc/client/FireboltClient.java index aa7e0a33d..ae4c6a775 100644 --- a/src/main/java/com/firebolt/jdbc/client/FireboltClient.java +++ b/src/main/java/com/firebolt/jdbc/client/FireboltClient.java @@ -124,9 +124,7 @@ protected void validateResponse(String host, Response response, Boolean isCompre if (!isCallSuccessful(statusCode)) { if (statusCode == HTTP_UNAVAILABLE) { throw new FireboltException( - String.format("Could not query Firebolt at %s. The engine is not running. Status code: %d", - host, HTTP_FORBIDDEN), - statusCode); + String.format("Could not query Firebolt at %s. The engine is not running.", host), statusCode); } String errorResponseMessage; try {