Demo mode
ValueError

Variant: Post not found with ID 429

3h ago · Nov 12
Last seen:
2025-12-18 05:25:00 UTC
First seen:
2025-11-12 23:22:31 UTC

Report details 7


Error message: Post not found with ID 44
When: 2 days ago
Occurred at: 2025-12-16 09:38:12 +0000
Handled: true
Severity: error
Server name: be1925f18265
Environment: production

Errors 3 frames


  • inner_logic
    test.py:50
    In App
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
        message = scenario["message"].format(placeholder)
        # 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()
    
                        
  • simulate_error
    test.py:54
    In App
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
            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,
  • <module>
    test.py:98
    In App
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
                # 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

Affected User 3


User ID: 262
Username: demo_user_24
Email address: [email protected]

Tags 4


app: project1
environment: test
technology: python
version: 2.17.0

Contexts 2


runtime:
{
  "name": "CPython",
  "version": "3.12.12",
  "build": "3.12.12 (main, Nov  4 2025, 04:29:50) [GCC 14.2.0]"
}
trace:
{
  "trace_id": "487f78daffae42458430eb7b8180aa93",
  "span_id": "873da7b2261d9fb0",
  "parent_span_id": null
}

Additional Data 5


context:
{
  "view": "PostDetailView",
  "user_id": 195
}
debug_info:
{
  "key": "value1"
}
request_method: POST
sys.argv: test.py
url: /posts/21

Dependencies 4


certifi 2025.11.12
pip 25.0.1
sentry-sdk 2.17.0
urllib3 2.5.0

SDK 2


Name: sentry.python
Version: 2.17.0