diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5da0f080..f18272a2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
# CHANGELOG
+## v2.3.1
+
+### Date: 03-Nov-2025
+
+- Github issue fix
+- Improved error messages
+
## v2.3.0
### Date: 29-Sep-2025
diff --git a/pom.xml b/pom.xml
index 46dce80c..7d86dffe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
4.0.0
com.contentstack.sdk
java
- 2.3.0
+ 2.3.1
jar
contentstack-java
Java SDK for Contentstack Content Delivery API
diff --git a/src/main/java/com/contentstack/sdk/AssetLibrary.java b/src/main/java/com/contentstack/sdk/AssetLibrary.java
index dd168723..e005955f 100644
--- a/src/main/java/com/contentstack/sdk/AssetLibrary.java
+++ b/src/main/java/com/contentstack/sdk/AssetLibrary.java
@@ -179,7 +179,11 @@ public AssetLibrary addParam(@NotNull String paramKey, @NotNull Object paramValu
if (isValidKey(paramKey) && isValidValue(paramValue)) {
urlQueries.put(paramKey, paramValue);
} else {
- logger.warning("Invalid key or value");
+ if (!isValidKey(paramKey)) {
+ logger.warning(ErrorMessages.INVALID_PARAMETER_KEY);
+ } else {
+ logger.warning(ErrorMessages.INVALID_PARAMETER_VALUE);
+ }
}
return this;
}
@@ -310,9 +314,10 @@ public void getResultObject(List