Created
June 13, 2026 06:48
-
-
Save manjeshpv/826cb4d54920cd1c0dc904799a6f201e to your computer and use it in GitHub Desktop.
sentry-payload.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "action": "created", | |
| "data": { | |
| "event": { | |
| "event_id": "fc6d8c0c43fc4630ad850ee518f1b9d0", | |
| "project": 112233, | |
| "release": "my-project-name@1.0.5", | |
| "environment": "production", | |
| "level": "error", | |
| "transaction": "/api/v1/checkout", | |
| "logentry": { | |
| "formatted": "ZeroDivisionError: division by zero", | |
| "message": null, | |
| "params": null | |
| }, | |
| "exception": { | |
| "values": [ | |
| { | |
| "type": "ZeroDivisionError", | |
| "value": "division by zero", | |
| "module": "exceptions", | |
| "thread_id": "1401345678", | |
| "stacktrace": { | |
| "frames": [ | |
| { | |
| "function": "process_payment", | |
| "module": "app.payments.billing", | |
| "filename": "app/payments/billing.py", | |
| "abs_path": "/usr/src/app/payments/billing.py", | |
| "lineno": 42, | |
| "context_line": " tax_rate = amount / tax_divider", | |
| "pre_context": [ | |
| "def process_payment(amount, user_id):", | |
| " tax_divider = get_tax_divider(user_id)" | |
| ], | |
| "post_context": [ | |
| " total = amount + tax_rate", | |
| " return total" | |
| ], | |
| "in_app": true | |
| } | |
| ] | |
| } | |
| } | |
| ] | |
| }, | |
| "request": { | |
| "url": "https://api.myapp.com/api/v1/checkout", | |
| "method": "POST", | |
| "headers": { | |
| "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64)", | |
| "Content-Type": "application/json" | |
| }, | |
| "env": { | |
| "SERVER_NAME": "api-node-01", | |
| "SERVER_PORT": "443" | |
| } | |
| }, | |
| "user": { | |
| "id": "98765", | |
| "email": "customer@example.com", | |
| "ip_address": "192.168.1.100" | |
| }, | |
| "tags": [ | |
| ["browser", "Chrome 115.0"], | |
| ["os", "Windows 10"], | |
| ["customer_tier", "enterprise"] | |
| ] | |
| }, | |
| "issue": { | |
| "id": "44556677", | |
| "shortId": "MY-PROJECT-123", | |
| "title": "ZeroDivisionError: division by zero", | |
| "culprit": "app.payments.billing in process_payment", | |
| "permalink": "https://sentry.io/organizations/my-org/issues/44556677/", | |
| "status": "unresolved", | |
| "isPublic": false | |
| } | |
| }, | |
| "installation": { | |
| "uuid": "a1b2c3d4-e5f6-7890-abcd-1234567890ab" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment