diff --git a/src/main/java/com/box/sdk/BoxFile.java b/src/main/java/com/box/sdk/BoxFile.java index 2b747f7b7..921eab2a3 100644 --- a/src/main/java/com/box/sdk/BoxFile.java +++ b/src/main/java/com/box/sdk/BoxFile.java @@ -508,7 +508,7 @@ public void getRepresentationContent(String representationHint, String assetPath List reps = this.getInfoWithRepresentations(representationHint).getRepresentations(); if (reps.size() < 1) { - throw new BoxAPIException("No matching representations found"); + throw new BoxAPIException("No matching representations found for requested '" + representationHint + "' hint"); } Representation representation = reps.get(0); String repState = representation.getStatus().getState();