# isHttpError

> Returns true after this UnityWebRequest receives an HTTP response code indicating an error. (Read Only)

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.Networking](/engine/6000.3/script-reference/unityengine/networking.md)
* **Assembly:** UnityEngine.UnityWebRequestModule

> **Warning:**
>
> **Deprecated.** UnityWebRequest.isHttpError is deprecated. Use (UnityWebRequest.result == UnityWebRequest.Result.ProtocolError) instead.

```csharp
public bool isHttpError { get; }
```

### Remarks

True on response codes greater than or equal to 400.

Additional Resources: [UnityWebRequest.responseCode](/engine/6000.3/script-reference/unityengine/networking/unitywebrequest/responsecode.md), [UnityWebRequest.isNetworkError](/engine/6000.3/script-reference/unityengine/networking/unitywebrequest/isnetworkerror.md)
