error location should be "header", not "headers"