How do I send multiple values to a metafield where some are valid and some are invalid

I don’t as this is pretty unusual use case. I think you would want to add that logic to your Run code action.