After you file


@shayne0941 wrote:

I understand they won't tell me who claimed the dependent but they won't even tell me which one was claimed ?


No, the IRS will not tell you even that.

The error code you received may have dash (-) after 507 with a number.  The number may indicate which dependent was claimed based on the order of the dependents entered on your tax return.