Election-Tech-Initiative / electionguard-api-python

ElectionGuard Web API in python to demonstrate usage of electionguard-python in performing ballot encryption, casting, spoiling, and tallying.
https://www.electionguard.vote/
MIT License
36 stars 26 forks source link

✨ Invalid Manifest Hash in Create Election Call Produces Misleading Error #191

Open lprichar opened 2 years ago

lprichar commented 2 years ago

Is there an existing issue for this?

Suggestion

If you provide an invalid value for manifest_hash when creating an election, or forget to create the hash first, then the app responds with a message like 110822965243455179346492149845638396915399380875915273669694677221547306570310 not found. It should instead respond with invalid value for manifest_hash or something like that

Possible Implementation

No response

Anything else?

No response