Ignoring validator errors django

For my code, I would like to introduce a set of custom warning messages based on some logical arguments on the data being posted. However, when using the django warning messages, the posted data through API gets saved into the database.

I was wondering if it is possible to create a custom validator in the serializers that will respond with a post error message and be able to incorporate a parameter that will allow the user to bypass the error if they choose to do so?

Almost all the research I have done points towards bad practice in bypassing validator errors and also requires going into the code to ignore it. Since these are custom errors that will not pose any data inconsistencies for the database, I would like to know more.