If you get an error message after filing your tax, you have to make amends to your return. It is a commonly observed fact that the IRS usually corrects scientific errors and may receive the returns without specific forms and schedules. Note that if you face these types of issues, there is no necessity to adjust your tax. But you have to file an amended return if there are alterations in status of filing and credits along with deductions.
Usually, in order to claim a refund, you have to file Form 1040X within 3 years after the date you filed your original return. Note that the returns that are filed before the due date would be considered filed.