'ERROR : Object not a collection - [line 1]
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.
You can test for invalid collections: see Empty Collections. For more information about empty collections, see Empty Collections.