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

[BUG]: Events are not being ignored #3049

Open
juandl opened this issue Jan 12, 2025 · 2 comments
Open

[BUG]: Events are not being ignored #3049

juandl opened this issue Jan 12, 2025 · 2 comments

Comments

@juandl
Copy link

juandl commented Jan 12, 2025

Describe the bug
Based on the documentation, when I use the API to send a "batch of events" and the transaction_id is repeated and is not being ignored, the API returns an error saying that transaction_ids already exist.

image

{"status":422,"error":"Unprocessable Entity","code":"validation_errors","error_details":{"0":{"transaction_id":["value_already_exist"]},"1":{"transaction_id":["value_already_exist"]},"2":{"transaction_id":["value_already_exist"]},"3":{"transaction_id":["value_already_exist"]},"4":{"transaction_id":["value_already_exist"]}}}

Expected behavior
Endpoint should return 200 and just ignore any "transaction_id" repeated.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Version

  • Lago: v1.17.4
@jdenquin
Copy link
Contributor

👋 @juandl are your events with the same transaction_id in the batch? or already saved?

@juandl
Copy link
Author

juandl commented Jan 24, 2025

👋 @juandl are your events with the same transaction_id in the batch? or already saved?

Same transaction_id already saved in Lago

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

No branches or pull requests

2 participants