You could adjust your foreign income input so that you are left with taxable earned income on your tax return, enough to allow the contribution. I would also contact your investment company to discuss your situation to see what options you have.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"