ThingWorx Edge C SDK > Error Codes > General Errors
General Errors
The following table lists general errors and their corresponding codes:
Code
Message
Troubleshooting
100
TW_UNKNOWN_ERROR
An error occurred, but it was not recognized by the SDK. This error should not appear.
101
TW_INVALID_PARAM
The parameter value is not allowed. Typically indicative of a NULL pointer being passed in where a NULL pointer is not allowed.
102
TW_ERROR_ALLOCATING_MEMORY
The specified amount of memory could not be allocated. Make sure that components free memory when they exit. Make sure you free up memory when finished using data structures. This error is very serious, and your application will usually terminate soon after.
103
TW_ERROR_CREATING_MTX
An error occurred while creating a mutex.
104
TW_ERROR_WRITING_FILE
An error occurred while writing to a file.
105
TW_ERROR_READING_FILE
An error occurred while reading a file sent from ThingWorx Platform.
106
TW_ERROR_ITEM_EXISTS
The referenced entity already exists.
107
TW_ERROR_ITEM_DOES_NOT_EXIST
The referenced entity does not exist.
108
TW_ERROR_SHAPE_DOES_NOT_EXIST
The referenced Data Shape does not exist.
109
TW_ERROR_TEMPLATE_DOES_NOT_EXIST
The referenced Edge Thing Template does not exist.
Was this helpful?