Allow getting html errors via the api