Throw error on versions request if entityName is empty