# error

> A human-readable string describing any system errors encountered by this UnityWebRequest object while handling HTTP requests or responses. The default value is null. (Read Only)

## Definition

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

```csharp
public string error { get; }
```

### Remarks

If the [UnityWebRequest](/engine/6000.6/script-reference/unityengine/networking/unitywebrequest.md) has not encountered a system error, this property will return `null`. Examples of system errors include socket errors, errors resolving DNS entries, or the redirect limit being exceeded.

**Note:** If the [UnityWebRequest](/engine/6000.6/script-reference/unityengine/networking/unitywebrequest.md) is complete and the response isn't successful, the error property will be non-empty.

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