It may be due to incorrect transformation of result that comes from select connector. Add a transform message logic after select connector.
Here is an example:
%dw 2.0 output application/json --- payload