# Troubleshooting

Below are some of the error codes that the SDK throws, that are references for troubleshooting:&#x20;

<table><thead><tr><th width="402">Error code</th><th>Description</th></tr></thead><tbody><tr><td>TRILL_ERR_BASE </td><td>This error signifies the start of Trillbit error codes.</td></tr><tr><td>TRILL_ERR_INVALID_PARAMETERS </td><td>This error signifies invalid parameters passed to the Trillbit SDK methods.</td></tr><tr><td>TRILL_ERR_INVALID_LICENSE_DATA</td><td>This error signifies invalid license data entered and absence of a valid license for the Trillbit SDK. Please refer to the licensing guide and trillbit developer’s portal for more information on licensing.</td></tr><tr><td>TRILL_ERR_LICENSE_NOT_FOR_THIS_DEVICE</td><td>This error signifies that a license was not found for this device.</td></tr><tr><td>TRILL_ERR_OUT_OF_MEMORY</td><td>This signifies that the device is out of memory that can be allocated.</td></tr><tr><td>TRILL_ERR_LICENSE_NOT_FOR_THIS_DEVICE</td><td>This signifies a license mismatch.</td></tr><tr><td>TRILL_ERR_FAILED_TO_GET_DEVICE_ID</td><td>Device ID cannot be fetched to verify license</td></tr><tr><td>TRILL_ERR_INVALID_CK</td><td>Invalid communication key that will be used to encrypt data</td></tr><tr><td>TRILL_ERR_NO_RX_CHANNELS_ENABLED</td><td>No channels enabled to process recorded data, check rx_channels_enabled parameter in initialization parameter</td></tr><tr><td>TRILL_ERR_AUDIO_BLOCK_ADD_FAILED</td><td>Audio block add failed , check if length of block is same as the one given during initialization</td></tr><tr><td>TRILL_ERR_DATALINK_PAYLOAD_TOO_LONG</td><td>Payload supported currently is only 256 bytes long</td></tr></tbody></table>

For the full list of error codes, refer to file: [trill\_error.h](https://github.com/Trillbit-Inc/TrillbitSDK-ESP32-S3/blob/master/components/mtfsk_trill_sdk/include/trill_error.h)
