Error in redrection query store