You can put a decision box to check, whether the attribute is empty or null,
this way you will be able to avoid the 400:Bad request issue,
Let me know, if you face any issues,
Hope it helps!!
You can create a validation microflow that checks on the received attributes if it is empty or not in a valid format. You can do whatever validation you want. You can also change the HTTP response code as well.