diff --git a/src/main/java/io/pinecone/PineconeControlPlaneClient.java b/src/main/java/io/pinecone/PineconeControlPlaneClient.java index 84b484bf..f8c3e09d 100644 --- a/src/main/java/io/pinecone/PineconeControlPlaneClient.java +++ b/src/main/java/io/pinecone/PineconeControlPlaneClient.java @@ -21,7 +21,7 @@ public PineconeControlPlaneClient(String apiKey) { public PineconeControlPlaneClient(String apiKey, OkHttpClient okHttpClient) { if(apiKey == null || apiKey.isEmpty()) { - throw new PineconeValidationException("apiKey is required and must not be empty or null"); + throw new PineconeValidationException("The API key is required and must not be empty or null"); } ApiClient apiClient = new ApiClient(okHttpClient); apiClient.setApiKey(apiKey);