If you run an API server then a client sends a bad request, you would usually send him 400 Bad Request error but is it acceptable if you change the message to a more specific one?
Example:
400 Invalid ID400 Parameter x, y, z is required400 Minimum length for parameter is x
The canonical place for additional information would be the response body.