Added headerError event