Add validations for when request body or post content are wrong type