x-headers on errors