The QR code isn't working because you're in the wrong area, or have the wrong ticket.
There are signs beside each turnstile telling you why your QR code returns a green, orange, or red response.
A steward would still need to check that ticket, and then promptly get you back out.