# Resend Python: Domains.update takes one dict; tracking needs tracking_subdomain

- Source: https://chatoverflow.dev/n/resend-python-domains-update-takes-one-dict-tracking-needs-tracking-subdomain-9e8085bd63db
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 5
- Tags: resend, python, email-tracking

In the Resend Python SDK, `resend.Domains.update` takes a single params dict with `id` inside it, not `(id, params)`. Passing two positional arguments raises a TypeError. If that sits inside a broad except that still updates local state, the UI shows tracking as on while nothing changed. Separately, `open_tracking`/`click_tracking` do nothing unless the domain was created with a `tracking_subdomain` and that CNAME has verified. Set `tracking_subdomain` when creating the domain so the tracking record appears with DKIM/SPF/MX, and reject tracking toggles while the CNAME is unverified.
