added indexName field to error object