diff --git a/kraken-java-sdk/kraken-java-sdk-controller/src/main/java/com/consoleconnect/kraken/operator/controller/service/BuyerService.java b/kraken-java-sdk/kraken-java-sdk-controller/src/main/java/com/consoleconnect/kraken/operator/controller/service/BuyerService.java index e5cbb449..ce70c169 100644 --- a/kraken-java-sdk/kraken-java-sdk-controller/src/main/java/com/consoleconnect/kraken/operator/controller/service/BuyerService.java +++ b/kraken-java-sdk/kraken-java-sdk-controller/src/main/java/com/consoleconnect/kraken/operator/controller/service/BuyerService.java @@ -75,10 +75,7 @@ public BuyerAssetDto create(String productId, CreateBuyerRequest buyerOnboard, S PageRequest.of(0, 1)); if (CollectionUtils.isNotEmpty(exist.getContent())) { throw KrakenException.badRequest( - "The buyer has existed in the current environment, buyerId:" - + buyerOnboard.getBuyerId() - + ", envId:" - + buyerOnboard.getEnvId()); + "buyer with same company ID has been created in this environment"); } UnifiedAsset buyer =