Was this a USA bound ticket? Had a similar issue last night with a JFK ticket, the website would not let me book it. Finally rang EK, they said it would be an additional 300 dhs to book over the phone but as it turns out the agent was able to reduce the price by a staggering $2K !!!
Apparently the error relates to API information but the website doesn't allow for input of passport data during booking.