Crossref deposit failure

We extracted an XML from OJS using the Crossref plugin and but the submission failed. We received the following message:
Registration was not successful! The DOI registration server returned an error: ‘1 - HTTP/1.1 100 Continue
HTTP/1.1 401 Unauthorized Date: Thu, 05 Feb 2015 23:42:01 GMT Server: http-kit Access-Control-Allow-Headers: X-Requested-With Access-Control-Allow-Origin: * Www-Authenticate: Basic realm=“restricted area” Content-Type: text/plain Content-Length: 13 access denied’.

Crossref manually loaded the file and asked us to tell you what they did to make it work: This was their response:
The deposit contains empty elements which are not allowed, example . Can you please advise OJS support team to remove these from deposit file and try again. I was able to upload the file manually, submission 1376513699 has been processed. Please advise OJS to use lower cases of username and password and avoid spaces. If they are still getting the same error, can you ask them which HTTP query they are using and provide us the sample?

Can you advise what we should do to successfully deposit our data to Crossref? We are using Version 2.4.5.0
Thanks Virginia


Hi @vballance,

The 401 Unauthorized response suggests that the error message is telling you that your username and/or password are wrong. Have a look at the CrossRef plugin configuration in OJS and double-check your credentials; since they suggest that there might be problems with upper-case usernames and passwords, try exploring that. OJS will just give CrossRef the credentials you supply them, without changes.

Regards,
Alec Smecher
Public Knowledge Project Team

Thanks Alec, it was exactly that! I went back and retraced the steps of setting up the plugin and there it was…user ID and password were incorrect. Thank you for your e-mail.
VCB