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

🐞 NoneType Error #237

Open f4bb1o opened 7 months ago

f4bb1o commented 7 months ago

Is there an existing issue for this?

Current Behavior

Hi, i'm trying to test the framework, but when i use the postman api i received this error : (<class 'TypeError'>, TypeError("'NoneType' object is not iterable"), <traceback object at 0x7f57386d3b40>) INFO: 127.0.0.1:57014 - "PUT /api/v1/user HTTP/1.1" 500 Internal Server Error In this case i tried to create a new user. The login endpoint works well instead

Expected Behavior

Create a user

Steps To Reproduce

No response

Environment

- OS: Kali Linux 23.04

Anything else?

No response