🔒 Protect your account - set up two-factor authentication. Set up now

Event Log

Every DM ยท webhook ยท email ยท DCC event ยท background job - success or failure.
Paste an error reference to jump straight to what failed - who, when, where, full traceback.
929
Total
26
Success
10
Errors
0
Skipped
โš  Errors & Skipped 10 All Events
All Email (4) Auth (5) System Error (1)
Time (IST) Type What happened Who Target Resource Status Error / Details
21 Jul 2026, 16:33:05 system_error [ER-NXEGSR] Unhandled error: GET /approvals/ Ravas - - ERROR
IntegrityError: (raised as a result of Query-invoked autoflush; consider using a session.no_autoflush block if this flush is occurring prematurely)
โ–ธ full traceback
(psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "uq_leave_balance_user_year_month"
DETAIL:  Key (user_id, year, month)=(2, 2025, 1) already exists.

[SQL: INSERT INTO leave_balances (user_id, year, month, credited, used, carry_forward_in, created_at, updated_at) VALUES (%(user_id)s, %(year)s, %(month)s, %(credited)s, %(used)s, %(carry_forward_in)s, %(created_at)s, %(updated_at)s) RETURNING leave_balances.id]
[parameters: {'user_id': 2, 'year': 2025, 'month': 1, 'credited': 1.0, 'used': 0.0, 'carry_forward_in': 0.0, 'created_at': datetime.datetime(2026, 7, 21, 11, 3, 5, 368095), 'updated_at': datetime.datetime(2026, 7, 21, 11, 3, 5, 368104)}]
(Background on this error at: https://sqlalche.me/e/20/gkpj)

Traceback (most recent call last):
  File "/opt/venv/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1969, in _exec_single_context
    self.dialect.do_execute(
  File "/opt/venv/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 952, in do_execute
    cursor.execute(statement, parameters)
psycopg2.errors.UniqueViolation: duplicate key value violates unique constraint "uq_leave_balance_user_year_month"
DETAIL:  Key (user_id, year, month)=(2, 2025, 1) already exists.


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/venv/lib/python3.11/site-packages/flask/app.py", line 917, in full_dispatch_request
    rv = self.dispatch_request()
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/venv/lib/python3.11/site-packages/flask/app.py", line 902, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)  # type: ignore[no-any-return]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/venv/lib/python3.11/site-packages/flask_login/uti
โ–ธ details
{
  "method": "GET",
  "path": "/approvals/",
  "ref": "ER-NXEGSR"
}
21 Jul 2026, 16:23:08 auth Failed login: teamsgoldenhour.co.in system - - ERROR
โ–ธ details
{
  "email": "teamsgoldenhour.co.in",
  "reason": "bad_credentials"
}
21 Jul 2026, 16:16:06 auth Failed login: teamsgoldenhour.co.in system - - ERROR
โ–ธ details
{
  "email": "teamsgoldenhour.co.in",
  "reason": "bad_credentials"
}
21 Jul 2026, 13:01:57 auth Failed login: teamsgoldenhour.co.in system - - ERROR
โ–ธ details
{
  "email": "teamsgoldenhour.co.in",
  "reason": "bad_credentials"
}
21 Jul 2026, 13:00:33 auth Failed login: teamsgoldenhour.co.in system - - ERROR
โ–ธ details
{
  "email": "teamsgoldenhour.co.in",
  "reason": "bad_credentials"
}
21 Jul 2026, 12:59:40 auth Failed login: teamsgoldenhour.co.in system - - ERROR
โ–ธ details
{
  "email": "teamsgoldenhour.co.in",
  "reason": "bad_credentials"
}
18 Jul 2026, 21:12:59 email Email to None - Review link: YEM - FX Evening - Client - 18 Jul 2026 - Yeman system - email ERROR
func(*args)
โ–ธ full traceback
^^^^^^^^^^^
  File "/root/.nix-profile/lib/python3.11/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 422: Unprocessable Entity

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/mail_utils.py", line 194, in _send
    _send_via_resend(to_email, subject, html, plain, from_name=from_name)
  File "/app/mail_utils.py", line 248, in _send_via_resend
    raise RuntimeError(f"Resend API {e.code}: {body}") from e
RuntimeError: Resend API 422: {"statusCode":422,"name":"validation_error","message":"Invalid `to` field. The email address needs to follow the `email@example.com` or `Name <email@example.com>` format."}
โ–ธ details
{
  "subject": "Review link: YEM - FX Evening - Client - 18 Jul 2026 - Yeman",
  "to": "None"
}
18 Jul 2026, 21:04:38 email Email to None - Review link: YEM - FX Evening - Client - 18 Jul 2026 - Yeman system - email ERROR
func(*args)
โ–ธ full traceback
^^^^^^^^^^^
  File "/root/.nix-profile/lib/python3.11/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 422: Unprocessable Entity

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/mail_utils.py", line 194, in _send
    _send_via_resend(to_email, subject, html, plain, from_name=from_name)
  File "/app/mail_utils.py", line 248, in _send_via_resend
    raise RuntimeError(f"Resend API {e.code}: {body}") from e
RuntimeError: Resend API 422: {"statusCode":422,"name":"validation_error","message":"Invalid `to` field. The email address needs to follow the `email@example.com` or `Name <email@example.com>` format."}
โ–ธ details
{
  "subject": "Review link: YEM - FX Evening - Client - 18 Jul 2026 - Yeman",
  "to": "None"
}
18 Jul 2026, 20:59:11 email Email to None - Review link: YEM - FX Evening - Client - 18 Jul 2026 - Yeman system - email ERROR
func(*args)
โ–ธ full traceback
^^^^^^^^^^^
  File "/root/.nix-profile/lib/python3.11/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 422: Unprocessable Entity

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/mail_utils.py", line 194, in _send
    _send_via_resend(to_email, subject, html, plain, from_name=from_name)
  File "/app/mail_utils.py", line 248, in _send_via_resend
    raise RuntimeError(f"Resend API {e.code}: {body}") from e
RuntimeError: Resend API 422: {"statusCode":422,"name":"validation_error","message":"Invalid `to` field. The email address needs to follow the `email@example.com` or `Name <email@example.com>` format."}
โ–ธ details
{
  "subject": "Review link: YEM - FX Evening - Client - 18 Jul 2026 - Yeman",
  "to": "None"
}
18 Jul 2026, 19:30:36 email Email to None - Review link: YEM - FX Evening - Client - 18 Jul 2026 - Yeman system - email ERROR
func(*args)
โ–ธ full traceback
^^^^^^^^^^^
  File "/root/.nix-profile/lib/python3.11/urllib/request.py", line 643, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 422: Unprocessable Entity

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/app/mail_utils.py", line 194, in _send
    _send_via_resend(to_email, subject, html, plain, from_name=from_name)
  File "/app/mail_utils.py", line 248, in _send_via_resend
    raise RuntimeError(f"Resend API {e.code}: {body}") from e
RuntimeError: Resend API 422: {"statusCode":422,"name":"validation_error","message":"Invalid `to` field. The email address needs to follow the `email@example.com` or `Name <email@example.com>` format."}
โ–ธ details
{
  "subject": "Review link: YEM - FX Evening - Client - 18 Jul 2026 - Yeman",
  "to": "None"
}

Sources wired: Issues (DM/webhook/comment/closure/transfer) ยท Discord channel posts (planning_discord) ยท Email (all sends via mail_utils) ยท DCC pipeline events ยท Background job errors. Click resource type chips to filter.