-
Notifications
You must be signed in to change notification settings - Fork 16
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
MailerLite API is pretty broken atm #38
Comments
hey @chiperific Hmm, I see, so as I understand now we need to change some endpoints to the new one, but while they not completed v2 API fully, we need support v1 (with v2 version) api, right? |
Yes, my thought was to add some checks on initialization. Try the new endpoints, if they return 404, then fall back to the old. I think this would mean having separate host variables for the main endpoints: subscribers, groups, webhooks, campaigns, etc. Maybe that's overkill though. We could just change the methods we know are now available in V2 and then just try to watch their blog for more releases. |
Yes, my though was to add some checks on initialization. Try the new
endpoints, if they return 404, then fall back to the old.
I think this would mean having separate host variables for the main
endpoints: subscribers, groups, webhooks, campaigns, etc.
Maybe that's overkill though. We could just change the methods we know are
now available in V2 and then just try to watch their blog for more releases.
- Chip
…On Mon, Jul 18, 2022, 07:22 Justas Palumickas ***@***.***> wrote:
hey @chiperific <https://github.com/chiperific>
Hmm, I see, so as I understand now we need to change some endpoints to the
new one, but while they not completed v2 API fully, we need support v1
(with v2 version) api, right?
—
Reply to this email directly, view it on GitHub
<#38 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAIZRB6532GFQZ6HC57G763VUU45RANCNFSM53WCL7BQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
It looks like the new API can filter campaigns by status and show subscriber activity so they've been making progress. I don't see anything about webhooks yet though. |
@samsonjs nice! let's wait little bit more. Is v1 still broken? |
@jpalumickas We sometimes get 5xx level errors but overall v1 works fine for us, and there's no indication that the errors we do see would be fixed by using the new API. |
First, thank you so much for this gem. It's way better than my HTTParty-based client.
I've exchanged a few emails with MailerLite about their "Classic" API and several endpoints are broken. I know
webhooks
andcampaigns_by_status
specifically return 404. Andsubscriber_activities
is returning a 500 error.Even though the "Classic" API has a V1 and V2, they say they are launching a V2 API and pointed me to new docs:
They change the base URL to
https://connect.mailerlite.com/api
and have only rolled out some of the endpoints, with no ETA for completion, even for specific milestones likewebhooks
.This is mostly just a heads-up that their current API is pretty broken and they don't seem to be maintaining it while they work on V2.
If you're still willing to maintain this repo, I'd love to help, maybe add in support for the new API with fallbacks to the old.
The text was updated successfully, but these errors were encountered: