Updated try for type validation in core.py. Updated status 201 to created. Updated create_vote doc string