             if results?.data
               for result in results.data
                 if clones?[result.id]
-                  if _.isEmpty result.body.errors
-                    @batchResults[result.id] = result.body
+                  if result?.body
+                    if _.isEmpty result.body?.errors
+                      @batchResults[result.id] = result.body
+                    else
+                      for error in result.body.errors
+                        console.error error.message
+                        console.error {code: error.code}
+                      @batchResults[result.id] = []
                   else
-                    for error in result.body.errors
-                      console.error error.message
-                      console.error {code: error.code}
                     @batchResults[result.id] = []
 
                   clones[result.id] = undefined
                   delete clones[result.id]
+
     , 100
 
   __getBatchResult: (id, cb) ->

    @base = opts.base or opts.root or opts.path or 'db/data'
    @base = @base.replace(/^\/|\/$/g, '')
    @root = "#{@url}/#{@base}"
    check @base, String

    @__service = {}


  __connect: -> 
    response = @__call @root
    if response?.statusCode
      switch response.statusCode
        when 200
          if response.data.password_change_required
            throw new Error "To connect to Neo4j - password change is required, please proceed to #{response.data.password_change}"
          else
            for key, endpoint of response.data
              if _.isString endpoint
                if !!~endpoint.indexOf '://'
                  @__service[key] = new Neo4jEndpoint key, endpoint, @
                else
                  @__service[key] = get: -> endpoint
                console.success "v#{endpoint}" if key is "neo4j_version"
            @ready = true
            console.success "Meteor is successfully connected to Neo4j on #{@url}"
        when 401
          throw new Error JSON.stringify response
        when 403
          throw new Error JSON.stringify response
        else
          throw new Error JSON.stringify response
    else
      throw new Error "Error with connection to Neo4j"

  __httpCallSync: Meteor.wrapAsync HTTP.call

