I want to claim foreign tax credit but after I entered an amount (say $50,000), the credit is shown as zero.

I did not claim foreign earned income and housing exclusion