Retirement tax questions

in 1999 - last time I made contributions was in 2014. After that all income was overseas and as I understood, I couldn't make any IRA contributions since during the years I was earning overseas I was using the foreign earned income tax credit so as to not pay US taxes on the overseas income.