UnityWebRequest.error

public string error;

Description

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)

If the UnityWebRequest 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 is complete and the response isn't successful, the error property will be non-empty.

Additional resources: responseCode.


Did you find this page useful? Please give it a rating: