I'm on building a rest view of nodes using Serializer as formatter. This view has a contextual filter on a plain-text field of that content type.
How can I return a 404 error when the contextual filter value is provided in the URL, but the view returns no result?
I've tried various validators, such as content, field, or basic validation, but none of them does what I'm looking for.