API docs getRecords() gives error with 'related'

Could you post the full query? The error does not appear to be related to the related=* parameter.