mailjet / mailjet-gem

[API v3] Mailjet official Ruby GEM

Home Page:https://dev.mailjet.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StatusCode 410 not in the docs

marcel12bell opened this issue · comments

I'm using Mailjet::Messagesentstatistics since years, now I get
Mailjet::ApiError (error 410 while sending #<RestClient::Resource:0x00007f22e26f0e08 @url="https://api.mailjet.com/v3/REST/messagesentstatistics"
point has been deprecated for new users as from March, 15 2018. Please use \/statcounters endpoint instead", "StatusCode" : 410 }"

I can not find the code in the docs:
https://dev.mailjet.com/email/reference/overview/errors/

Is there an alternative to Mailjet::Messagesentstatistics ? See https://dev.mailjet.com/email/reference/statistics/#v3_get_statcounters

We would like to inform you that this endpoint has been deprecated, and we intend to update this library in our next release. Thank you for your understanding.