#179 — BUG: PATCH /dashboards “coroutine raised StopIteration”
Repo: Twill-AI/facade State: closed | Status: done Assignee: Unassigned
Created: 2024-11-05 · Updated: 2025-03-24
Description
Caused by https://twill-network.slack.com/archives/C07TPN6FCBX/p1730815825459959
STR:
- Patch dashboard?
Expected: no errors
Actual: 500 error “coroutine raised StopIteration”
See logs:
2024-11-05 14:01:44.640|INFO|Chidihf8ml|dashboard_helpers:274|Updated '57' dashboard with keeping [321, 332], adding [], updating [329, 336, 338, 335, 342], removing 1 widgets.
2024-11-05 14:01:44.951|INFO|Chidihf8ml|fastapi_utils:238|FINISH PATCH http://staging.twillai.com/api/v1/dashboards/57 took 2.112: 200 duration=1584ms size=16506
2024-11-05 14:01:45.103|ERROR|Chidihf8ml|fastapi_utils:161|PATCH http://staging.twillai.com/api/v1/dashboards/57 Unhandled exception: coroutine raised StopIteration
Traceback (most recent call last):
File "/app/app/api/dashboard_helpers.py",
## Notes
_Add implementation notes, blockers, and context here_
## Related
_Add wikilinks to related people, meetings, or other tickets_