Could not find method named Post() or Any()

I’ve found this is all caused by returning an Object that is inherited from Collection<>

Further details can be found in this forum post.