sendgrid_elixir icon indicating copy to clipboard operation
sendgrid_elixir copied to clipboard

rate limiting handling on marketing campaigns

Open techgaun opened this issue 7 years ago • 0 comments

seems like sendgrid has a rate limit in place

Can we handle the rate limiting for marketing campaigns so we don't get errors instead?

Example error:

# result from api call: %{"errors" => [%{"field" => nil, "message" => "too many requests"}]}
** (MatchError) no match of right hand side value: nil
    (sendgrid) lib/sendgrid/marketing_campaigns/contacts/recipients.ex:39: SendGrid.Contacts.Recipients.handle_recipient_result/1

techgaun avatar Jun 04 '18 18:06 techgaun