Skip to content
This repository has been archived by the owner on Feb 18, 2023. It is now read-only.

Unable to parse processed event #5

Closed
Neonkiller opened this issue Mar 19, 2018 · 1 comment
Closed

Unable to parse processed event #5

Neonkiller opened this issue Mar 19, 2018 · 1 comment
Labels

Comments

@Neonkiller
Copy link
Contributor

Web hook like
{
"sg_event_id": "IVqXzcSwSMqtCBqkfZX5Gw",
"sg_message_id": "DhEasnaCSFC0S316nbnQ8Q.filter0611p1iad2-28144-5AAFA6CF-2B.0",
"send_at": 1521461003.98953,
"event": "processed",
"email": "some@email.com",
"smtp-id": "<xxx.sendgrid.net>",
"timestamp": 1521460944,
"CommunicationId": "7627b608-ea32-45e5-8567-e7cd91e3facc"
},

can not be parsed.
It crashed on parse of "send_at": 1521461003.98953
as it can not handle double values.
Possible fix:

  • parse all as double or add additional check for double values
@Gekctek Gekctek added the bug label Mar 22, 2018
@Gekctek
Copy link
Owner

Gekctek commented Mar 22, 2018

Let me know if the nuget package 2.0.1/new change doesnt fix your issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants