1099-misc and IRA contribution

If I earn only 1099-misc income, according to IRS regulation, I can still contribute to IRA.  However, Turbotax does not allow me to do that.  It keeps coming back to me saying my earned income is zero therefore I am not eligible to contribute to IRA.  The accountant and financial advisors I consulted with all told me that 1099-misc income is considered as earned income eligible for IRA deduction.  Could you  help me to resolve this puzzle?