> ## Documentation Index
> Fetch the complete documentation index at: https://docs.directgvr.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Core error codes

> Error and extended error codes reported by the DirectGVR client.

## WebGet error codes

These are error codes for WebGet itself and can be used to determine how it failed to retrieve the content from the server. The strikethrough error codes are obsolete and do not raise since 7.0.

| **Error** | **Error Code** | **Description** | **Description for Support** | **Troubleshooting/Resolution/Other** | **Recommended Alternate Error to display to users (en.json)** |
| - | - | - | - | - | - |
| WEBGET\_ERROR\_CUSTOM | 900 | NA | | | |
| WEBGET\_ERROR\_CONNECT | 950 | Unable to connect | A connection to the requested resource could not be made. This is different from a 404. | The client will remake this request on the retry interval. Because the retry interval starts at 60 seconds, it may be faster to restart the client. | 950: Connection Issue; Please restart client |
| WEBGET\_ERROR\_DNS | 951 | No DNS entry found for host | A domain must have a DNS (Domain Name Server) associated with it. There is not DNS to be found for \{yourdomainname.com} | The client will remake this request on the retry interval. Because the retry interval starts at 60 seconds, it may be faster to restart the client. | 951: Connection Issue; Please restart client |
| WEBGET\_ERROR\_BADTRANSPORT | 952 | Unable to establish transport | Connection made to CDN, however download could not start | The client will remake this request on the retry interval. Because the retry interval starts at 60 seconds, it may be faster to restart the client. | 952: Connection Issue; Please restart client |
| WEBGET\_ERROR\_SOCKET | 953 | Socket error (see socket class for specific error) | There is an operating system level networking error. See extended error codes for more details. | The client will remake this request on the retry interval. Because the retry interval starts at 60 seconds, it may be faster to restart the client. | 953: Connection Issue; Please restart client. |
| WEBGET\_ERROR\_BADBYTERANGE | 954 | Byte range failure | The ByteRange requested by the client does not exist on the source server. | The client will remake this request on the retry interval. Because the retry interval starts at 60 seconds, it may be faster to restart the client. | 954: Connection Issue; Please restart client |
| WEBGET\_ERROR\_CHUNKEDSIZE | 955 | Chunked error | | The client will remake this request on the retry interval. Because the retry interval starts at 60 seconds, it may be faster to restart the client. | 955: Connection Issue; Please restart client. |
| WEBGET\_ERROR\_USERABORT | 956 | User abort | The user or some other process has severed the connection. This is typically due to closing the client. | this was deprecated in DIRECT 4 | 956: Goodbye: Shutting Down |
| WEBGET\_ERROR\_BLOCKEDREDIRECT | 957 | Blocked redirection | The server tried to redirect the request, but the redirected request was blocked by the new server. | The client will remake this request on the retry interval. Because the retry interval starts at 60 seconds, it may be faster to restart the client. | 957: Connection Issue: Please restart client |
| WEBGET\_ERROR\_RESET | 958 | Reset | | deprecated in DIRECT 4 | |
| WEBGET\_ERROR\_SIZELIMIT | 959 | Exceeded size limit | Extra content received. This means that the CDN responded with more data than the client requested. SHA1 check failed | The client will remake this request on the retry interval. Because the retry interval starts at 60 seconds, it may be faster to restart the client. | 959: Connection Issue: Please wait while we retry. |
| WEBGET\_ERROR\_COMPRESSION | 960 | Error decompressing content | The client is attempting to decompress content using an unsupported format, such as server-enabled gzip | The client will attempt this request on the retry interval. Remove the unsupported compression settings from the delivery server. | 960: Content decompression error. Please contact support or try again later. |
| WEBGET\_ERROR\_TIMEOUT | 961 | Timeout on I/O | Request has been made to the server, however a response has not been received within 15 seconds. This is a non-critical error as the client will continue making this request hoping that the server will respond with content eventually. | The client will remake this request on the retry interval. This will not appear in the UI until 30 seconds. The client will remake the request at the retry interval. It may be faster to restart the client | 961: Connection Issue; Please restart client. |
| WEBGET\_ERROR\_UNDERFLOW | 962 | Underflow | Partial content received. This means that the CDN responded with less data than the client requested. SHA1 check failed. The most common cause is unreliable or intermitent connection, or very latent wi-fi. | The client will remake this request on the retry interval. Because the retry interval starts at 60 seconds, it may be faster to restart the client. | 962: Connection Issue; Please restart client. |
| WEBGET\_ERROR\_VALIDATION | 963 | Failed validation | The content cannot be validated by the client. | The client will remake this request on the retry interval. This can happen when the domain is not whitelisted, or when the content is unsigned or signed by a cert that is not trusted by the OS or the client. This can also happen if the server certificate is expired. | 963: Content validation error. Please contact support or try again later. |
| WEBGET\_ERROR\_OS | 964 | OS error | The Operating System has returned an error while downloading or writing content to disk. Please refer to the specific OS error code. | Check debug logs for the specific Operating System Error and follow OS specific troubleshooting | 964: Operating System Error: Please restart client |
| WEBGET\_ERROR\_PROXYDISABLED | 965 | Proxy disabled | Network is configured to send request through Proxy Server, however the proxy is not responding. | The client will remake this request on the retry interval. This will not appear in the UI until 30 seconds. The client will remake the request at the retry interval. It may be faster to restart the client | 965: Connection Issue; Please restart client. |
| WEBGET\_ERROR\_HEADERLIMIT | 966 | Exceeded header size limit | The header size is greater than 8KB. This can happen when the header contains an unusually long value, such as an authentication token. | The client will attempt this request on the retry interval. The long header value should be addressed. | 966: Header length error. Please contact support or try again later. |
| WEBGET\_ERROR\_HEADERINCOMPLETE | 967 | Incomplete header | This may only happen when there is data corruption or a malfunctioning server. | This error only happens when the final /r/n are not in the stream. | 967: Server Issue; Please contact customer support. |
| WEBGET\_ERROR\_CONTENTENCODING | 968 | Unsupported content encoding | The client is attempting to decode content using an unsupported format, such as "deflate" | The client will remake this request on the retry interval. Remove the unsupported encoding settings from the delivery server. | 968: Content decoding error. Please contact support or try again later. |
| WEBGET\_ERROR\_CHUNKED | 969 | Error unchunking content | | QA notes: Cannot currently be tested | 969: Connection Issue; Please restart client. |
| WEBGET\_ERROR\_BIND | 970 | Binding error | | | |
| WEBGET\_ERROR\_TLS1 | 971 | TLS1 error | The client is not configured to use the TLS version and cipher used by the server. | The TLS1 section of app.json allows you to specify the cipher, min and max version to support. | 971: TLS configuration error; Please contact support or try again later. |
| WEBGET\_ERROR\_AUTHREQUESTCANCEL | 972 | Authentication request cancelled | The user cancelled while the server was asking for authentication. | The client will display an error in the log. Client may be configured to allow the user to retry his credentials. | 972: Authentication request cancelled; Please retry. |
| WEBGET\_ERROR\_CERTREQUESTCANCEL | 973 | Client certificate request cancelled | The user cancelled while the server was asking for client certificate authentication. | The client will display an error in the log. Client may be configured to allow the user to retry his certificate authentication. | 973: Authentication request cancelled; Please retry. |
| WEBGET\_ERROR\_RECONFIGURE | 974 | Reconfigure request | The client is encountering a piece that has already been downloaded using a difference piece order. Different piece orders are not supported in DIRECT 5, so this error condition is deprecated. | The client would not display an error in the UI. The piece would be checked and the error would be logged. | N/A |
| WEBGET\_ERROR\_INVALIDOFFSET | 975 | Invalid offset/length | SSN has not been able to produce this error. | SSN has not been able to produce this error. | 975: Connection Issue; Please restart client. |
| WEBGET\_ERROR\_INVALIDCONTENT | 976 | Invalid content | The total length of the content requested either exceeded or was less than expected. | Typically a case of one or more CDN Edge Nodes not having proper content from Origin. Redeploy content to CDN or clear edge cache. | 976: Corrupt File(s) on CDN: Please restart client. If problem persists please contact Customer Support |
| WEBGET\_ERROR\_UNEXPECTEDLENGTH | 977 | Unexpected content length | The total length of the content requested either exceeded or was less than expected. | Typically a case of one or more CDN Edge Nodes not having proper content from Origin. Redeploy content to CDN or clear edge cache. | 977: Corrupt File(s) on CDN: Please restart client. If problem persists please contact Customer Support |
| WEBGET\_ERROR\_RANGENOTSUPPORTED | 978 | Range requests not supported | The client is making Ranged Requests, but the CDN or Webserver is not configured to respond to Ranged Requests. VPNs and proxies may also be preventing ranged requests or responses from being sent/received. | The client will remake this request on the retry interval. Make sure the CDN is configured to support Ranged Requests. Check that there is no other software on the end-user machine interfering with these requests. | 978: Connection Issue: Please restart client. If problem persists contact customer support. |
| WEBGET\_ERROR\_HASHFAILURE | 979 | Hash failure | The Hash of the content being requested does not match the hash expected by the metafile. This suggests that there is CDN content corruption. If may be necessary to flush the content cash on the CDN | Typically a case of one or more CDN Edge Nodes not having proper content from Origin. Redeploy content to CDN or clear edge cache. | 979: Corrupt File(s) on CDN: Please restart client. If problem persists please contact Customer Support |
| WEBGET\_ERROR\_CONTENTLENGTHLIMIT | 980 | Exceeded content length limit | The totally length of the content exceeded the expected number of bytes. | The client will remake this request on the retry interval. | 980: Corrupt File(s) on CDN: Please restart client. If problem persists please contact Customer Support |
| WEBGET\_ERROR\_AUTHHEADERNOTFOUND | 981 | Authentication header not found | The responding server expected an authentication header, but not provided by the client. | The client will remake this request on the retry interval. This is a server misconfiguration. | 981: Authentication error; please contact support. |
| WEBGET\_ERROR\_AUTHNOTSUPPORTED | 982 | Authentication scheme not supported | The type of authentication scheme used in the request is not supported by the responding server. | The client will remake this request on the retry interval. | 982: Connection Issue: Please restart client. If problem persists contact customer support. |
| WEBGET\_ERROR\_REDIRECTHEADERNOTFOUND | 983 | Redirection header not found | The server is returning a 301 Redirect response code, but it does NOT include the proper redirection headers. | The client will remake this request on the retry interval. The redirect configuration needs troubleshooting. | 983: Redirection error. Please contact support or try again later. |
| WEBGET\_ERROR\_REDIRECTLOOPDETECTED | 984 | Redirection loop detected | The server is configured to redirect the request, however it is redirecting to itself. | Fix redirection issue on CDN | 984: Connection Issue: Please restart client. If problem persists contact customer support. |
| WEBGET\_ERROR\_REDIRECTLIMIT | 985 | Exceeded redirection limit | The request is being redirected many times and has exceeded the amount set on the CND | Increase redirect limit or fix redirection issue on CDN | 985: Connection Issue: Please restart client. If problem persists contact customer support. |
| WEBGET\_ERROR\_HEADERCORRUPT | 986 | Header corrupt | The header request made to the CDN was deemed corrupt by the CDN. | Possibly related to packette loss during the request. Can be due to bad connection or latent Wi-Fi | 986: Connection Issue: Please restart client. If problem persists contact customer support. |
| WEBGET\_ERROR\_JSON | 987 | JSON error | The JSON syntax of the file being requested (catalog.json, alias.json, metafile.json) is incorrect. | verify that the JSON is valid and redeploy. | 987: Connection Issue: Please restart client. If problem persists contact customer support. |
| WEBGET\_ERROR\_VCDIFF | 988 | Error deflating vcdiff content | The client is unable to apply vcdiff data because the local data is corrupt. This could be due to a bad disk or bad memory. | The client retrieves the whole piece instead. This error will not appear in the UI. | N/A |
| WEBGET\_ERROR\_STORAGE | 989 | Storage | | | |
| WEBGET\_ERROR\_REQUESTINCOMPLETE | 990 | Request incomplete | | | |
| WEBGET\_ERROR\_RETRY | 991 | Retry | | | |
| WEBGET\_ERROR\_XML | 992 | XML error | | | |
| WEBGET\_ERROR\_YAML | 993 | YAML error | | | |
| WEBGET\_ERROR\_CURL | 994 | Network communication error | | | 994: Network Error: Please retry. If problem persists contact customer support. |

Any error code that is not covered here, is probably an HTTP error code returned from the web server. [http://en.wikipedia.org/wiki/List\_of\_HTTP\_status\_codes](http://en.wikipedia.org/wiki/List_of_HTTP_status_codes)

## WebGet extended error codes

### OS

When the error code is WEBGET\_ERROR\_OS (964), the extended error code will be the OS level error. To find out what a particular error refers to, please look at the documentation provided by each OS.

| OS | List of Possible Errors |
| - | - |
| Windows | [System Error Codes](https://docs.microsoft.com/en-us/windows/desktop/debug/system-error-codes) |
| Macintosh | [https://www.osstatus.com/](https://www.osstatus.com/) |
| Linux | [https://github.com/torvalds/linux/blob/master/include/uapi/asm-generic/errn…](https://github.com/torvalds/linux/blob/master/include/uapi/asm-generic/errno.h) |

### Network communication extended error codes

When the error code is WEBGET\_ERROR\_CURL (994), the extended error code will be the cUrl error code. To find out what a particular error refers to, please look at the documentation provided by [libcurl error codes](https://curl.se/libcurl/c/libcurl-errors.html). The example recommended alternate error to display to users (en.json): "Network error 6: Couldn't resolve host. Please contact support or try again later."

### Compression error codes

These are extended error codes for compression encoding.  The error code returned will be WEBGET\_ERROR\_COMPRESSION (960).

| Error | Value | Description |
| - | - | - |
| Z\_ERRNO | -1 | File operation error |
| Z\_STREAM\_ERROR | -2 | Stream error |
| Z\_DATA\_ERROR | -3 | Data error |
| Z\_MEM\_ERROR | -4 | Memory error |
| Z\_BUF\_ERROR | -5 | Buffer error |
| Z\_VERSION\_ERROR | -6 | Version error |

### JSON error codes

These are extended error codes for json decoding.  The error code returned will be WEBGET\_ERROR\_JSON (987).

| Error | Value | Description |
| - | - | - |
| JSON\_ERROR\_ZEROLENGTH | 1 | No data found |
| JSON\_ERROR\_UNKNOWNLENGTH | 2 | Legacy error (no longer in use) |
| JSON\_ERROR\_TYPE | 3 | Unknown json type |
| JSON\_ERROR\_FIELDTYPE | 4 | Invalid field type |
| JSON\_ERROR\_STRING | 5 | Error parsing a string value |
| JSON\_ERROR\_INTEGER | 6 | Error parsing an integer value |
| JSON\_ERROR\_BOOLEAN | 7 | Error parsing a boolean value |
| JSON\_ERROR\_NULL | 8 | Error parsing a null value |
| JSON\_ERROR\_JWSDECODE | 9 | Failed to parse web signature |
| JSON\_ERROR\_AUTHENTICATE | 10 | Failed to authenticate web signature |
| JSON\_ERROR\_BUILD | 11 | Failed to deserialize json |

### Storage error codes

These are extended error codes for repository storage handlers. The error code returned will be WEBGET\_ERROR\_STORAGE (989).

| Error | Value | Description |
| - | - | - |
| STORAGE\_ERROR\_SHUTDOWN | 1 | An operation was requested after shutdown |
| STORAGE\_ERROR\_INTERFACENOTFOUND | 2 | No interface found for storage handler (No longer in use) |
| STORAGE\_ERROR\_INTERFACETOOMANY | 3 | Too many interfaces found for storage handler (No longer in use) |
| STORAGE\_ERROR\_SYMLINKINVALID | 4 | Sym link contains invalid relative directory information (No longer in use) |
| STORAGE\_ERROR\_DECRYPTNOMEMORY | 5 | Failed to allocate memory during decryption |
| STORAGE\_ERROR\_DECRYPTCORRUPT | 6 | Corrupt incoming buffer during decryption |
| STORAGE\_ERROR\_DECRYPTHASHFAILURE | 7 | Footer hash failed during decryption |
| STORAGE\_ERROR\_DECRYPTBADPASSWORD | 8 | Bad password detected during decryption |
| STORAGE\_ERROR\_DECRYPTCANCEL | 9 | Decryption cancelled |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.