Issue #2602380 by jonhattan: Innacurate exception message: The "%s" entity cannot have a URI as it does have an ID