Factual error: None of the police vehicles, marked or unmarked, have a steady red light to the front, as required on ALL emergency vehicles in California, but not required in any other US state.
Factual error: The scene where you see the Mexican officials coming down the dirt road, you can see the stop sign in English when they are in Mexico. It should say Alto.
Continuity mistake: Miles' police car gets wrecked when the truck at the end hits it and it suffers serious damage. This includes knocking the lights off the top of the car, but when Miles is leaving having killed his ex-partner from the robbery at the start, it is in better condition with the lights back on the car.
Plot hole: When Miles tries to hand the pizza to Carlson, he steals the ID card off him. Carlson would have realised that he had lost the card the next time he came to open a security door and would have reported it as lost. This means that his original card would have been blocked, meaning that Miles wouldn't have been able to use it.