Skip to content
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 nodes return wrong subscriber ID #10020

Closed
raulengel opened this issue Jul 12, 2024 · 1 comment · Fixed by #11933
Closed

MailerLite nodes return wrong subscriber ID #10020

raulengel opened this issue Jul 12, 2024 · 1 comment · Fixed by #11933
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@raulengel
Copy link

Bug Description

Whenever I use MailerLite nodes to create or get subscribers, the subscriber ID in the response is wrong.

Already tested with two different n8n instances, in different machines.

Example subscriber IDs
Correct: 113280109331350776
Wrong: 113280109331350780

It also returns the wrong group ID when searching a subscriber by email. If I want to know to which group ID the subscriber belongs to, I won't be able to because of the wrong ID.

Example group IDs
Correct: 113276040087864466
Wrong: 113276040087864460

I can confirm this issue by making a custom HTTP request, which returns correct ID values.

Outputs

image
image

To Reproduce

Make a request using the MailerLite node to create or get subscribers.

Expected behavior

Give me the correct subscriber ID.

Operating System

Ubuntu 22.04

n8n Version

1.49.0

Node.js Version

default

Database

SQLite (default)

Execution mode

main (default)

@raulengel raulengel changed the title MailerLite nodes returns wrong subscriber ID MailerLite nodes return wrong subscriber ID Jul 12, 2024
@Joffcom
Copy link
Member

Joffcom commented Jul 12, 2024

Hey @raulengel

Thanks for the report, the issue here is down to a change with the Mailerlite api.

We currently use the old api which returns the id as a number but the new api which you are using in the http request node returns it as a string.

We have a dev ticket open internally already to update the api version that the node is using. I will add this issue to that ticket.

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Jul 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants