Misc fixes

error codes, ds_store and glance fails on no-index events.