Softimage SDK Programmer's Guide > Script Development > Understanding Error Messages >

# ERROR : Object not a collection

    'ERROR : Object not a collection - [line 1]

## Possible Cause

The return value may be an empty collection that is invalid. You may also be incorrectly assuming that the returned item is a collection, not an object.

## Suggested Solution

You can test for invalid collections: see Empty Collections. For more information about empty collections, see Empty Collections.