After you file

If you and your ex claimed the same child the last to file will be rejected so see if your return is accepted. You are correct that if your return goes through you will have to amend it. Your tax liability should not change.