TeamSpeak Error Codes

enum Ts3ErrorType

Values:

enumerator ERROR_ok

Indicates success.

enumerator ERROR_undefined
enumerator ERROR_not_implemented

The attempted operation is not available in this context.

enumerator ERROR_ok_no_update

Indicates success, but no change occurred. Returned for example upon flushing (e.g. using ts3client_flushChannelUpdates) when all indicated changes already matched the current state.

enumerator ERROR_dont_notify
enumerator ERROR_lib_time_limit_reached
enumerator ERROR_out_of_memory

Not enough system memory to perform operation.

enumerator ERROR_canceled
enumerator ERROR_command_not_found
enumerator ERROR_unable_to_bind_network_port

Unspecified failure to create a listening port.

enumerator ERROR_no_network_port_available

Failure to initialize a listening port for FileTransfer.

enumerator ERROR_port_already_in_use

Specified port is already in use by a different application.

enumerator ERROR_client_invalid_id

Client no longer connected.

enumerator ERROR_client_nickname_inuse

Client name is already in use. Client names must be unique.

enumerator ERROR_client_protocol_limit_reached

Too many clients on the server.

enumerator ERROR_client_invalid_type

Function called for normal clients that is only available for query clients or vice versa.

enumerator ERROR_client_already_subscribed

Attempting to subscribe to a channel already subscribed to.

enumerator ERROR_client_not_logged_in
enumerator ERROR_client_could_not_validate_identity

Identity not valid or insufficient security level.

enumerator ERROR_client_invalid_password
enumerator ERROR_client_version_outdated

Server requires newer client version as determined by the min_client_version properties.

enumerator ERROR_client_is_flooding

Triggered flood protection. Further information is supplied in the extra message if applicable.

enumerator ERROR_client_hacked
enumerator ERROR_client_cannot_verify_now
enumerator ERROR_client_login_not_permitted
enumerator ERROR_client_not_subscribed

Action is only available on subscribed channels.

enumerator ERROR_channel_invalid_id

Channel does not exist on the server (any longer)

enumerator ERROR_channel_protocol_limit_reached

Too many channels on the server.

enumerator ERROR_channel_already_in

Attempting to move a client or channel to its current channel.

enumerator ERROR_channel_name_inuse

Channel name is already taken by another channel. Channel names must be unique.

enumerator ERROR_channel_not_empty

Attempting to delete a channel with clients or sub channels in it.

enumerator ERROR_channel_can_not_delete_default

Default channel cannot be deleted. Set a new default channel first (see ts3client_setChannelVariableAsInt or ts3server_setChannelVariableAsInt )

enumerator ERROR_channel_default_require_permanent

Attempt to set a non permanent channel as default channel. Set channel to permanent first (see ts3client_setChannelVariableAsInt or ts3server_setChannelVariableAsInt )

enumerator ERROR_channel_invalid_flags

Invalid combination of ChannelProperties, trying to remove CHANNEL_FLAG_DEFAULT or set a password on the default channel.

enumerator ERROR_channel_parent_not_permanent

Attempt to move a permanent channel into a non-permanent one, or set a channel to be permanent that is a sub channel of a non-permanent one.

enumerator ERROR_channel_maxclients_reached

Channel is full as determined by its CHANNEL_MAXCLIENTS setting.

enumerator ERROR_channel_maxfamily_reached

Channel tree is full as determined by its CHANNEL_MAXFAMILYCLIENTS setting.

enumerator ERROR_channel_invalid_order

Invalid value for the CHANNEL_ORDER property. The specified channel must exist on the server and be on the same level.

enumerator ERROR_channel_no_filetransfer_supported

Invalid CHANNEL_FILEPATH set for the channel.

enumerator ERROR_channel_invalid_password

Channel has a password not matching the password supplied in the call.

enumerator ERROR_channel_invalid_security_hash
enumerator ERROR_server_invalid_id

Chosen virtual server does not exist or is offline.

enumerator ERROR_server_running

attempting to delete a server that is running. Stop the server before deleting it.

enumerator ERROR_server_is_shutting_down

Client disconnected because the server is going offline.

enumerator ERROR_server_maxclients_reached

Given in the onConnectStatusChange event when the server has reached its maximum number of clients as defined by the VIRTUALSERVER_MAXCLIENTS property.

enumerator ERROR_server_invalid_password

Specified server password is wrong. Provide the correct password in the ts3client_startConnection / ts3client_startConnectionWithChannelID call.

enumerator ERROR_server_is_virtual

Server is in virtual status. The attempted action is not possible in this state. Start the virtual server first.

enumerator ERROR_server_is_not_running

Attempting to stop a server that is not online.

enumerator ERROR_server_is_booting
enumerator ERROR_server_status_invalid
enumerator ERROR_server_version_outdated

Attempt to connect to an outdated server version. The server needs to be updated.

enumerator ERROR_server_duplicate_running

This server is already running within the instance. Each virtual server may only exist once.

enumerator ERROR_parameter_quote
enumerator ERROR_parameter_invalid_count

Attempt to flush changes without previously calling set*VariableAs* since the last flush.

enumerator ERROR_parameter_invalid

At least one of the supplied parameters did not meet the criteria for that parameter.

enumerator ERROR_parameter_not_found

Failure to supply all the necessary parameters.

enumerator ERROR_parameter_convert

Invalid type supplied for a parameter, such as passing a string (ie. “five”) that expects a number.

enumerator ERROR_parameter_invalid_size

Value out of allowed range. Such as strings are too long/short or numeric values outside allowed range.

enumerator ERROR_parameter_missing

Neglecting to specify a required parameter.

enumerator ERROR_parameter_checksum

Attempting to deploy a modified snapshot.

enumerator ERROR_vs_critical

Failure to create default channel.

enumerator ERROR_connection_lost

Generic error with the connection.

enumerator ERROR_not_connected

Attempting to call functions with a serverConnectionHandler that is not connected. You can use ts3client_getConnectionStatus to check whether the connection handler is connected to a server.

enumerator ERROR_no_cached_connection_info

Attempting to query connection information (bandwidth usage, ping, etc) without requesting them first using ts3client_requestConnectionInfo.

enumerator ERROR_currently_not_possible

Requested information is not currently available. You may have to call ts3client_requestClientVariables or ts3client_requestServerVariables.

enumerator ERROR_failed_connection_initialisation

No TeamSpeak server running on the specified IP address and port.

enumerator ERROR_could_not_resolve_hostname

Failure to resolve the specified hostname to an IP address.

enumerator ERROR_invalid_server_connection_handler_id

Attempting to perform actions on a non-existent server connection handler.

enumerator ERROR_could_not_initialise_input_manager
enumerator ERROR_clientlibrary_not_initialised

Calling client library functions without successfully calling ts3client_initClientLib before.

enumerator ERROR_serverlibrary_not_initialised

Calling server library functions without successfully calling ts3server_initServerLib before.

enumerator ERROR_whisper_too_many_targets

Using a whisper list that contain more clients than the servers VIRTUALSERVER_MIN_CLIENTS_IN_CHANNEL_BEFORE_FORCED_SILENCE property.

enumerator ERROR_whisper_no_targets

The active whisper list is empty or no clients matched the whisper list (e.g. all channels in the list are empty)

enumerator ERROR_connection_ip_protocol_missing

Invalid or unsupported protocol (e.g. attempting an IPv6 connection on an IPv4 only machine)

enumerator ERROR_handshake_failed
enumerator ERROR_illegal_server_license
enumerator ERROR_file_invalid_name

Invalid UTF8 string or not a valid file.

enumerator ERROR_file_invalid_permissions

Permissions prevent opening the file.

enumerator ERROR_file_already_exists

Target path already exists as a directory.

enumerator ERROR_file_not_found

Attempt to access or move non existing file.

enumerator ERROR_file_io_error

Generic file input / output error.

enumerator ERROR_file_invalid_transfer_id

Attempt to get information about a file transfer after it has already been cleaned up. File transfer information is not available indefinitely after the transfer completed.

enumerator ERROR_file_invalid_path

specified path contains invalid characters or does not start with “/”

enumerator ERROR_file_no_files_available
enumerator ERROR_file_overwrite_excludes_resume

File overwrite and resume are mutually exclusive. Only one or neither can be 1.

enumerator ERROR_file_invalid_size

Attempt to write more bytes than claimed file size.

enumerator ERROR_file_already_in_use

File is currently not available, try again later.

enumerator ERROR_file_could_not_open_connection

Generic failure in file transfer connection / other party did not conform to file transfer protocol.

enumerator ERROR_file_no_space_left_on_device

Operating system reports hard disk is full. May be caused by quota limitations.

enumerator ERROR_file_exceeds_file_system_maximum_size

File is too large for the file system of the target device.

enumerator ERROR_file_transfer_connection_timeout
enumerator ERROR_file_connection_lost

File input / output timeout or connection failure.

enumerator ERROR_file_exceeds_supplied_size
enumerator ERROR_file_transfer_complete

Indicates successful completion.

enumerator ERROR_file_transfer_canceled

Transfer was cancelled through ts3client_haltTransfer.

enumerator ERROR_file_transfer_interrupted

Transfer failed because the server is shutting down, or network connection issues.

enumerator ERROR_file_transfer_server_quota_exceeded

Transfer terminated due to server bandwidth quota being exceeded. No client can transfer files.

enumerator ERROR_file_transfer_client_quota_exceeded

Attempt to transfer more data than allowed by this clients’ bandwidth quota. Other clients may continue to transfer files.

enumerator ERROR_file_transfer_reset
enumerator ERROR_file_transfer_limit_reached

Too many file transfers are in progress. Try again later.

enumerator ERROR_file_invalid_storage_class
enumerator ERROR_file_invalid_dimension

Avatar image exceeds maximum width or height accepted by the server.

enumerator ERROR_file_transfer_channel_quota_exceeded

Transfer failed because the channel quota was exceeded. Uploading to this channel is not possible, but other channels may be fine.

enumerator ERROR_sound_preprocessor_disabled

Cannot set or query pre processor variables with preprocessing disabled.

enumerator ERROR_sound_internal_preprocessor
enumerator ERROR_sound_internal_encoder
enumerator ERROR_sound_internal_playback
enumerator ERROR_sound_no_capture_device_available

No audio capture devices are available.

enumerator ERROR_sound_no_playback_device_available

No audio playback devices are available.

enumerator ERROR_sound_could_not_open_capture_device

Error accessing audio device, or audio device does not support the requested mode.

enumerator ERROR_sound_could_not_open_playback_device

Error accessing audio device, or audio device does not support the requested mode.

enumerator ERROR_sound_handler_has_device

Attempt to open a sound device on a connection handler which already has an open device. Close the already open device first using ts3client_closeCaptureDevice or ts3client_closePlaybackDevice.

enumerator ERROR_sound_invalid_capture_device

Attempt to use a device for capture that does not support capturing audio.

enumerator ERROR_sound_invalid_playback_device

Attempt to use a device for playback that does not support playback of audio.

enumerator ERROR_sound_invalid_wave

Attempt to use a non WAV file in ts3client_playWaveFile or ts3client_playWaveFileHandle.

enumerator ERROR_sound_unsupported_wave

Unsupported wave file used in ts3client_playWaveFile or ts3client_playWaveFileHandle.

enumerator ERROR_sound_open_wave

Failure to open the specified sound file.

enumerator ERROR_sound_internal_capture
enumerator ERROR_sound_device_in_use

Attempt to unregister a custom device that is being used. Close the device first using ts3client_closeCaptureDevice or ts3client_closePlaybackDevice.

enumerator ERROR_sound_device_already_registerred

Attempt to register a custom device with a device id that has already been used in a previous call. Device ids must be unique.

enumerator ERROR_sound_unknown_device

Attempt to open, close, unregister or use a device which is not known. Custom devices must be registered before being used (see ts3client_registerCustomDevice)

enumerator ERROR_sound_unsupported_frequency
enumerator ERROR_sound_invalid_channel_count

Invalid device audio channel count, must be > 0.

enumerator ERROR_sound_read_wave

Failure to read sound samples from an opened wave file. Is this a valid wave file?

enumerator ERROR_sound_need_more_data
enumerator ERROR_sound_device_busy
enumerator ERROR_sound_no_data

Indicates there is currently no data for playback, e.g. nobody is speaking right now.

enumerator ERROR_sound_channel_mask_mismatch

Opening a device with an unsupported channel count.

enumerator ERROR_permissions_client_insufficient

Not enough permissions to perform the requested activity.

enumerator ERROR_permissions

Permissions to use sound device not granted by operating system, e.g. Windows denied microphone access.

enumerator ERROR_accounting_virtualserver_limit_reached

Attempt to use more virtual servers than allowed by the license.

enumerator ERROR_accounting_slot_limit_reached

Attempt to set more slots than allowed by the license.

enumerator ERROR_accounting_license_file_not_found
enumerator ERROR_accounting_license_date_not_ok

License expired or not valid yet.

enumerator ERROR_accounting_unable_to_connect_to_server

Failure to communicate with accounting backend.

enumerator ERROR_accounting_unknown_error

Failure to write update license file.

enumerator ERROR_accounting_server_error
enumerator ERROR_accounting_instance_limit_reached

More than one process of the server is running.

enumerator ERROR_accounting_instance_check_error

Shared memory access failure.

enumerator ERROR_accounting_license_file_invalid

License is not a TeamSpeak license.

enumerator ERROR_accounting_running_elsewhere

A copy of this server is already running in another instance. Each server may only exist once.

enumerator ERROR_accounting_instance_duplicated

A copy of this server is running already in this process. Each server may only exist once.

enumerator ERROR_accounting_already_started

Attempt to start a server that is already running.

enumerator ERROR_accounting_not_started
enumerator ERROR_accounting_to_many_starts

Starting instance / virtual servers too often in too short a time period.