TECH: support for api status, error http status and api status.