You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
INFO: 127.0.0.1:65341 - "GET /docs HTTP/1.1" 200 OK
INFO: 127.0.0.1:65341 - "GET /openapi.json HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\KHUSHI\Desktop\Projects\Fast API\venv\Lib\site-packages\fastapi\encoders.py", line 152, in jsonable_encoder
data = dict(obj)
^^^^^^^^^
TypeError: 'ModelField' object is not iterable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\KHUSHI\Desktop\Projects\Fast API\venv\Lib\site-packages\fastapi\encoders.py", line 157, in jsonable_encoder
data = vars(obj)
^^^^^^^^^
TypeError: vars() argument must have _dict_ `attribute```
The text was updated successfully, but these errors were encountered:
Everything was working fine but when I tried to access ("http://127.0.0.1:8000/docs",) it is giving me this error
Issue in video: https://www.youtube.com/watch?v=4zwUOOrcihk&list=PL8VzFQ8k4U1L5QpSapVEzoSfob-4CR8zM&index=62
The text was updated successfully, but these errors were encountered: