-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Postman/Raw HTTP client POST to envelope returns 200 but not displayed in dashboard #80434
Comments
Assigning to @getsentry/support for routing ⏲️ |
Routing to @getsentry/product-owners-apis for triage ⏲️ |
Original ticket here. |
Routing to @getsentry/product-owners-ingestion-and-filtering for triage ⏲️ |
This particular API is not maintained by our team so rerouting to ingest. |
I'm presuming all your SDK integrations use a raw HTTP client under the hood, which send payloads containing errors, traces, breadcrumbs etc to the same API '/envelope'? |
Environment
SaaS (https://sentry.io/)
Steps to Reproduce
Following on from support query 136895, I am unable to send HTTP requests directly to Sentry envelope API. I appreciate I can use the Sentry SDK as your colleague Tony pointed at numerously, however I would prefer to get this working via postman, and subsequently via a raw HTTP client within a Kotlin codebase.
I have attached multiple screen recordings to the support query which you can hopefully access. In the latest reply from your support colleague, I was given an example payload to try, which I did from both Postman and the Sentry provided Postman collection. Neither worked, with the response being a bad request.
I am able to get a successful 200 response when sending a POST to https://[email protected]/api/{project_id}/envelope/
The JSON body within the POST request is as below
{ "event_id": "9ec79c33ec9942ab8353589fcb2e09cd", "sent_at": "2024-10-02T17:41:36Z", "dsn": "https://[email protected]/{project_id}", "type": "issue", "platform": "kotlin", "level": "fatal", "check_in_id": "83a7c03ed0a04e1b97e2e3b18d38f244", "monitor_slug": "my-monitor", "status": "in_progress", "duration": 10.0, "release": "1.0.0", "errors": [ { "type": "unknown_error", "path": "/var/logs/errors.log.1", "details": "Failed to read attachment" } ] }
However the event is not displayed on the dashboard.
I have experimented with sending an event from sentry-cli and copying the JSON of the event directly from Sentry dashboard. I have then used this exact same JSON (with the event_id) changed, and I get a 200 response but nothing showing on the dashboard.
Expected Result
Sentry event showing on the dashboard, which is sent from Postman and raw HTTP client
Actual Result
Receiving 200 response in postman but event not showing on dashboard
sentry proof - 01.zip
sentry_proof.zip
sentry-cli-copy.zip
Product Area
APIs
Link
No response
DSN
No response
Version
No response
The text was updated successfully, but these errors were encountered: