       'Sort':'daterank',
       'ItemPage': page
     }).then((response) ->
-      console.log "Raw response body: ", response.responseBody
+      console.log "debug: Raw response body: ", response.responseBody
 
       # 処理が速すぎるとときどき AWS API がエラーとなるため処理終了
       if response.result.ItemSearchResponse is undefined
+        console.log 'error: 処理が速すぎてエラーになりました'
+        # 処理がたまらないように余裕を持たせる
+        setTimeout((() -> amazonSearch.search(query, isKindle, page , callback, nothingCallBack)), 60000)
         return
 
       baseResult = response.result.ItemSearchResponse.Items[0]

      stores =  robot.brain.get(user.name)

      for store in stores
        nexWeekSearch(response, store.title, store.kindle)
        tomorrowSearch(response, store.title, store.kindle)

  # 起動時にクーロン設定
  # *(sec) *(min) *(hour) *(day) *(month) *(day of the week)

    console.log users

    i = 1
    timeWait = 0

    while user = users[i]
      i++
      console.log(user.name)
