Skip to content

Error Codes ​

Almost all functions of the API can throw an error if an argument is invalid or certain conditions are not met. Each error has a specific error code and may provide additional information in the form of an error message. All possible error codes are listed and described on this page. To handle error codes and messages, use FxError.

Overview ​

CodeNameDescription
0FX_NO_ERRORNo error occured.
101FX_FILE_FORMAT_UNSUPPORTEDA file format was unsupported for an import/export operation.
102FX_FILE_NOT_FOUNDA specified file wasn't found by the file manager.
103FX_FILE_OPERATION_FAILEDAn OS file operation was unsuccessful.
201FX_ITEM_INDEX_INVALIDAn item index was out of range.
202FX_ITEM_UNAVAILABLEA specified item was unavailable.
301FX_NODE_NOT_FOUNDSpecified node of required type wasn't found in the open asset.
401FX_PROJECT_NOT_FOUNDSpecified project was not found.
501FX_PROPERTY_INVALIDA specified property was either invalid or unavailable.
502FX_TYPE_INVALIDA specified type was invalid or unsupported in the context.
503FX_VALUE_INVALIDOne of the arguments was an invalid value.
601FX_REQUIRED_ASSET_UNAVAILABLEA required open asset file was unavailable.
602FX_REQUIRED_CHANNEL_UNAVAILABLEA required animation channel was unavailable.
603FX_REQUIRED_GRID_UNAVAILABLEA required active pixel or voxel grid was unavailable.
604FX_REQUIRED_FILE_UNAVAILABLEA required open file was unavailable.
605FX_REQUIRED_PROJECT_UNAVAILABLEA required open project was unavailable.
801FX_CUSTOM_ERRORA custom error message was logged by the user.
901FX_SYSTEM_ERRORAn unexpected error occured.

FX_NO_ERROR 0 ​

No error occured.

Analysis ​

All good.


FX_FILE_FORMAT_UNSUPPORTED 101 ​

A file format was unsupported for an import/export operation.

Analysis ​

The file format for a file exchange operation is automatically determined by the passed filename. If emitted during an import operation then the import target doesn't support the file format. If emitted during an export operation then the export source can't be exported using the file format. Try to select a supported file format or use third party conversion.


FX_FILE_NOT_FOUND 102 ​

The specified file couldn't be found by the file manager.

Analysis ​

For most file operations the FileType is needed in addition to the FileID. The file manager only searches for FileIDs of given FileType. It's therefore crucial to pass the correct FileType.

If the FileID was a list, wildcard or filter then a file query may return no matching file. E.g. if you use the wildcard /s and no file is selected then this error will be emitted.


FX_FILE_OPERATION_FAILED 103 ​

An OS system level file operation was unsuccessful.

Analysis ​

Typical causes for file operation fails are missing file permissions or that the file is opened by another program.


FX_ITEM_INDEX_INVALID_INVALID 201 ​

The specified item index was out of range.

Analysis ​

For Color Palettes and Mini Sets the valid range is [0..255], for Material Sets it's [0..127].


FX_ITEM_UNAVAILABLE 202 ​

The specified item was unavailable.

Analysis ​

An item of a map is unavailable when it is empty. Items need to be made available by using the Add function of the corresponding module first.


FX_NODE_NOT_FOUND 301 ​

The specified node wasn't found in the open asset or didn't have the required type.

Analysis ​

If the NodeID was a list, wildcard or filter then the query for it may return no matching node. E.g. if you use the wildcard /s and no node is selected then this error will be emitted.

The required node type can be determined by the module name. E.g. while functions of the FxNode module support all node types the functions of the FxObject3D module only support nodes that inherit from Object3D. Refer to the Node Reference to learn about node type inheritance.


FX_PROJECT_NOT_FOUND 401 ​

The specified project couldn't be found or the project is invalid.

Analysis ​

This error occurs when no subfolder with the name passed to ProjectID is found in the projects folder or that subfolder isn't a valid project folder.


FX_PROPERTY_INVALID 501 ​

The specified property either didn't match a valid property name or it wasn't supported by the target.

Analysis ​

To check what properties are supported by files and nodes of a certain type check the [File Reference] and Node Reference.


FX_TYPE_INVALID 502 ​

The specified type was either an invalid value or the called function wasn't allowed to use it.

Analysis ​

Select a valid NodeType or FileType.


FX_VALUE_INVALID 503 ​

One of the arguments was an invalid value.

Analysis ​

Check the error message to learn what value was invalid and fix the offending call.


FX_REQUIRED_CHANNEL_UNAVAILABLE 601 ​

A function call required an animation channel for the specified node property but there was none.

Analysis ​

To animate a node's property an animation channel is required. Add the animation channel for the property and try again.


FX_REQUIRED_ASSET_UNAVAILABLE 602 ​

A function call required an open asset but there was none.

Analysis ​

Open an asset before using the function.


FX_REQUIRED_GRID_UNAVAILABLE 603 ​

A function call required an active pixel or voxel grid but there was none.

Analysis ​

Activate a pixel or voxel grid before using the function.


FX_REQUIRED_FILE_UNAVAILABLE 604 ​

A function call required an open file but there was none.

Analysis ​

Open a file before using the function.


FX_REQUIRED_PROJECT_UNAVAILABLE 605 ​

A function call required an open project but there was none.

Analysis ​

Open a project before using the function.


FX_CUSTOM_ERROR 801 ​

An error was logged by the user with the function FxLog.LogError.

Analysis ​

Your call.


FX_SYSTEM_ERROR 901 ​

An unexpected error occured.

Analysis ​

Unexpected errors are caused by bugs in the source code and not by the user.