Most airlines have checks on their side that prevent you from making duplicate bookings, with the same passenger(s) on the same flight(s).
Until now, we've returned a
500 Internal Server Error in this case. Now, we'll return a helpful error message with the code
duplicate_booking, so you can handle this case gracefully.