Help Needed: Resolving "line does not contain two tokens" Error

My submissions are being rejected with the error message: “line does not contain two tokens.” According to the submission guidelines, each record should include a DOI followed by a URL, separated by a space.

Here’s an example of what I’ve been submitting:

H: email=team@xxxx.com;fromPrefix=10.621xx
10.621xx/apemr.1.1.0001 new address

Has anyone here faced this before? Any insights into what “two tokens” the system is expecting or how to properly format the submission would be greatly appreciated.

<?xml version="1.0" encoding="UTF-8"?>

<doi_batch_diagnostic status=“completed” sp=“ds5”>
<submission_id>1620980218</submission_id>
<batch_id></batch_id>
<record_diagnostic status=“Failure”>
10.621xx/apemr.1.1.0001 new address
line does not contain two tokens
</record_diagnostic>
<batch_data>
<record_count>1</record_count>
<success_count>0</success_count>
<warning_count>0</warning_count>
<failure_count>1</failure_count>
</batch_data>
</doi_batch_diagnostic>

Hi,

Thanks for your message.

The reason that your deposit is failing is because you need to use a tab between the DOI and the new address. In your file, there are several spaces instead of a tab.

Please try it again using a tab, and this should work.

Thank you,
Kathleen

1 Like