## Error codes

> The functions in the SDK API can return a variety of error codes to describe problems encountered during execution. This section lists the error codes and provides a brief description of what each error code means. Refer to the documentation for each function for a description of what an error code means in that context.

UPNP_E_SUCCESS [0]
UPNP_E_INVALID_HANDLE [-100]
UPNP_E_INVALID_PARAM [-101]
UPNP_E_OUTOF_HANDLE [-102]
UPNP_E_OUTOF_MEMORY [-104]
UPNP_E_INIT [-105]
UPNP_E_INVALID_DESC [-107]
UPNP_E_INVALID_URL [-108]
UPNP_E_INVALID_SERVICE [-111]
UPNP_E_BAD_RESPONSE [-113]
UPNP_E_INVALID_ACTION [-115]
UPNP_E_FINISH [-116]
UPNP_E_INIT_FAILED [-117]
UPNP_E_BAD_HTTPMSG [-119]
UPNP_E_ALREADY_REGISTERED [-120]
UPNP_E_NETWORK_ERROR [-200]
UPNP_E_SOCKET_WRITE [-201]
UPNP_E_SOCKET_READ [-202]
UPNP_E_SOCKET_BIND [-203]
UPNP_E_SOCKET_CONNECT [-204]
UPNP_E_OUTOF_SOCKET [-205]
UPNP_E_LISTEN [-206]
UPNP_E_TIMEDOUT [-207]
UPNP_E_SOCKET_ERROR [-208]
UPNP_E_CANCELED [-210]
UPNP_E_SUBSCRIBE_UNACCEPTED [-301]
UPNP_E_UNSUBSCRIBE_UNACCAPTED [-302]
UPNP_E_NOTIFY_UNACCEPTED [-303]
UPNP_E_INVALID_ARGUMENT [-501]
UPNP_E_FILE_NOT_FOUND [-502]
UPNP_E_FILE_READ_ERROR [-503]
UPNP_E_EXT_NOT_XML [-504]
UPNP_E_NOT_FOUND [-507]
UPNP_E_INTERNAL_ERROR [-911]

Alphabetic index

This page was generated with the help of DOC++.