         updateAPIQuerySortParams(collection, newProps.query)
 
     render: withReactDOM ->
+      if @state?.errorMessages
+        return div {},
+          @state.errorMessages.map (error) ->
+            div className: 'muted', error.message
       return div({ref: 'emptyDiv'}) unless @props.currentFolder
       div role: 'grid',
         UploadDropZone(currentFolder: @props.currentFolder)

          updateAPIQuerySortParams(collection, @props.query)
          # TODO: use scroll position to only fetch the pages we need
          getAllPages(collection, @debouncedForceUpdate)

    componentWillMount: ->
      @registerListeners(@props)

  ShowFolder = React.createClass
    displayName: 'ShowFolder'

    debouncedForceUpdate: _.debounce ->
      @forceUpdate() if @isMounted()
    , 0

    registerListeners: (props) ->
      return unless props.currentFolder
