All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Developer Documents 24 Hour Fitness Email Unsubscribe Bug and Solution

By

daem

3mo ago· 2 min readenInsight

Summary

A developer discovered and documented a bug in 24 Hour Fitness's email unsubscribe system that prevented users from unsubscribing from marketing emails. The bug was caused by a single line of JavaScript code that displayed error messages in Spanish instead of allowing successful unsubscription. The author reported the bug in November 2025 and created a working alternative solution. The article gained significant attention, reaching #2 on Hacker News, and the bug appears to have been fixed as of February 2026.

Key quotes

· 5 pulled
I like my email subscription-free. I don't want your blog, newsletter, Substack, etc. in my inbox, even if I love your writing. And I definitely don't want 30% off creatine coupons from my gym.
The unsubscribe link at the bottom of 24 Hour Fitness' marketing takes you to https://www.24hourfitness.com/members/unsubscribe
You enter your email and click unsubscribe. You get a mysterious error message in Spanish.
I found the bug. It's one line of JavaScript. I reported it back in November 2025
This article hit #2 on Hacker News and the bug appears to be fixed now.
Snippet from the RSS feed
24 Hour Fitness won't let you unsubscribe from marketing emails. I found the bug in their unsubscribe page and built a working alternative.

You might also wanna read