You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
read envelope from incoming message (using sentry-cli send-event)
deserialize envelope using var envelope = await Envelope.DeserializeAsync(stream);
There might be something to fix here but to to clarify: An envelope and an event are different things. Envelopes contain items, and one of those could be an event.
What are you trying to accomplish? we might be able to help you differently
I'm just trying to deserialize an complete received envelope, which fails if it contains an event with a timestamp formatted as a number. When te timestamp is formatted as a string everything works as expected. I do see in the code (or so it seems) that timestamps as numbers are not supported, but that should be supported as even the sentry-cli sends such events.
Happy to help but I'm not quite following how to reproduce the issue you're running into:
You're sending an event via sentry-cli but how and why does that generated envelope end up in the .NET SDK? The stream is just the deserialized envelope you're picking up from somewhere?
Activity
bruno-garcia commentedon Feb 2, 2024
There might be something to fix here but to to clarify: An envelope and an event are different things. Envelopes contain items, and one of those could be an event.
What are you trying to accomplish? we might be able to help you differently
arend-melissant-tnt commentedon Feb 3, 2024
Hi,
I'm just trying to deserialize an complete received envelope, which fails if it contains an event with a timestamp formatted as a number. When te timestamp is formatted as a string everything works as expected. I do see in the code (or so it seems) that timestamps as numbers are not supported, but that should be supported as even the sentry-cli sends such events.
bitsandfoxes commentedon Feb 5, 2024
Happy to help but I'm not quite following how to reproduce the issue you're running into:
You're sending an event via sentry-cli but how and why does that generated envelope end up in the .NET SDK? The stream is just the deserialized envelope you're picking up from somewhere?
arend-melissant-tnt commentedon Feb 5, 2024
I'm forwarding messages to Sentry, that's how I get the messages. I'll create a small test for you to see what's happening
14 remaining items
aritchie commentedon Feb 28, 2025
@Tuytje #3958 <= this PR contains other features, but also a fix for this particular issue
aritchie commentedon Feb 28, 2025
Referencing #2102 - close this issue with that issue
albyrock87 commentedon Mar 1, 2025
@aritchie if it helps this is the involved JSON