Election-Tech-Initiative / Election-Tech-Initiative/electionguard-api-python

✨ Invalid Manifest Hash in Create Election Call Produces Misleading Error

Open
#191 0 comments 0 reactions 0 assignees View on GitHub
enhancement triage
Dominant language
Python
Stars
37
Forks
29
PR merge metrics
No merged PRs in 30d

Description

### Is there an existing issue for this?

- [X] I have searched the existing issues

### 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_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.