Exactly what error are you getting? 500 means nothing. https://codex.wordpress.org/WP_DEBUG.
Get field should work in pre_get_fields.
More than likely the format of the value you are getting is not correct for “post__in”. What type of field is it and what is it returning?