A TikToker’s now-viral experience may make you think twice before being nice the next time you’re at an airport.

In late November, amid the busy Thanksgiving travel period, TikToker Ryan Emrich (@ryanremrich) posted about how his act of kindness went wrong. Also known as “Ryan from Boston,” the man kicked off the video by saying, “Alright, it’s official, I’m no longer being nice.”

He explained that things went awry after he let people ahead of him in the airline’s check-in line. Unfortunately, those other travelers ended up talking to the agent at the check-in counter for 20 minutes, which ultimately resulted in Emrich arriving at his destination more than six hours late. Instead of leaving his location and arriving in Denver at 10:35 a.m., his flight change scheduled him to land in The Mile High City at 5:15 p.m.

Earlier in the video, Ryan explained that he was prompted to get into the check-in line and wait to speak to an agent after unsuccessfully attempting to check his ski bag at the airline’s self-service kiosk.

“I go to get in line to see an agent at the kiosk request, and I let two people go in front of me. And those two people jam up the agent for so long,” said Ryan. “By the time I get to the agent, they say you are now past the allowable check-in window for a bag and we need to move you to a later flight.”

“Being nice and letting someone ahead of me in line just cost me a 6 hr+ delay,” he wrote in text at the top of the video.

Allowable Check-In Windows — What To Know

Check-in windows are something all travelers, regardless of experience, should keep in mind every time they fly. How late you can check baggage and check in for a flight usually depends on your route (domestic or international, short-haul or long-haul) and the airline you’re flying with. It’s extremely important to know the check-in cutoff time ahead of your flight, as every commercial airline has a specific time. Typically, that’s somewhere between 30 and 90 minutes before your scheduled departure. Before the cutoff time, airlines offer different check-in windows, with around 24 hours before departure being a common standard.

When in doubt, follow the general recommendation to arrive at the airport at least 2 hours before a domestic flight and 3 hours before an international flight. Even still, it’s worth considering an even earlier arrival during seasonally busy travel periods, such as around the holidays.