Set status for Endpoints when an error occours like #697