# ValueError
Variant: Invalid email format 'int'

First seen: 5 days ago · Last seen: about 12 hours ago
Occurrences: 67
Resolved: No

## Info
- Message: Variant: Invalid email format '35'
- When: about 12 hours ago
- Occurred: 2025-11-17 21:29:50 UTC
- Occurred Local: 2025-11-17 21:29:50 (Etc/UTC)
- Handled: Yes
- Severity: error
- Server Name: be1925f18265
- Environment: production
- Platform: python
- Project: Blog Platform
- Release Version: project1-v1.0
- Sourcemap Applied: No

## Backtrace
### Main
- Type: ValueError
- Value: Variant: Invalid email format '35'
- Module: -

1. test.py, line 52 in `inner_logic` (in_app)
2. test.py, line 54 in `simulate_error` (in_app)
3. test.py, line 98 in `<module>` (in_app)

#### Frame 1 Code
```
# Simulate stack for authentic trace
def inner_logic():
if random.random() > 0.5:
raise scenario["type"](message)
else:
> raise scenario["type"](f"Variant: {message}")

inner_logic()

# Init SDK once
sentry_sdk.init(
```

#### Frame 2 Code
```
if random.random() > 0.5:
raise scenario["type"](message)
else:
raise scenario["type"](f"Variant: {message}")

> inner_logic()

# Init SDK once
sentry_sdk.init(
dsn=DSN,
traces_sample_rate=1.0,
```

#### Frame 3 Code
```

# Add breadcrumb
sentry_sdk.add_breadcrumb(message=random.choice(["User loaded page", "Form submitted", "Query executed"]), level="info")

try:
> simulate_error(scenario)
except Exception as e:
sentry_sdk.capture_exception(e)
print(f"Sent error: {e}")

# Small intra-burst delay to spread within cycle
```

## Breadcrumbs
- Time: 09:29:50.052 PM, Cat: -, Level: info, Msg: User loaded page, Type: default

## Tags
- app: project1
- environment: test
- technology: python
- version: 2.17.0

## Contexts
### runtime
```json
{"name":"CPython","version":"3.12.12","build":"3.12.12 (main, Nov  4 2025, 04:29:50) [GCC 14.2.0]"}
```
### trace
```json
{"trace_id":"f7b8b655c64c4fda9a09da889cafed25","span_id":"a596bd54f6dd1d6a","parent_span_id":null}
```

## User
- ID: 972
- Username: demo_user_60
- Email: demo@example.com

## Dependencies
- certifi: 2025.11.12
- pip: 25.0.1
- sentry-sdk: 2.17.0
- urllib3: 2.5.0

## Extras
- context: {"view" => "UserRegisterView", "email" => "invalid@email"}
- debug_info: {"key" => "value1"}
- request_method: GET
- sys.argv: ["test.py"]
- url: /posts/97

## SDK
- Name: sentry.python
- Version: 2.17.0
