How to register content

I don’t know to to register the content.
could you please guide how to complete this step, Thank you!
sithonh

Hello,

Thanks for your message, and welcome to the Crossref community forum.

Please refer to this community forum post for a stepwise guide for our new Crossref members on how they can construct DOIs, register them, and eventually check the respective registration status.

Evans
Crossref - Tech Support Team

1 Like

Hello, Crossref team.

I can not add to deposit a new issue from Revista Politécnica. It appears this message. Please, can you tell me where the error is?

It appers the message:TypeError recordInfo is undefined

My username from Revista Politécnica is: esnn

Thank you so much.

Does the sandbox test site function just like production? I am trying to test against the test site and this is what I see.
using curl -F ‘operation=doQueryUpload’ -F ‘login_id=myUserName’ -F ‘login_passwd=myPassWord’ -F ‘fname=@/home/ec2-user/data/crossref/ns064746t_20240903195617.xml’

through the test crossref org servlet deposit

SUCCESS

SUCCESS

Your batch submission was successfully received.

Using browser,
through test crossref org/servlet/submissionDownload with file_name=/home/ec2-user/data/crossref/ns064746t_20240903195617.xml

<doi_batch_diagnostic status=“unknown_submission”>
<submission_id>0</submission_id>
<batch_id/>
</doi_batch_diagnostic>

Hi @csubtu ,

Thanks for your question and welcome to the Community Forum.

Yes, the test admin tool does function like production, but we do need to have configured your account for use in the test admin tool before it will work there. What is your DOI prefix and/or Crossref username?

-Isaac

Hello there, @karina.jativa ,

Thanks for your message. Where are you seeing the error message ‘TypeError recordInfo is undefined’? Can you provide me with a screenshot?

My best,
Isaac

Testing against test site
DOI prefix: 10.46787
user: csuc

If I submit (XML deposit using HTTPS POST) either writing my own https post or using curl as shown in the sample transaction of the same section, the submission is ok with 200 return code. However, when I use https to retrieve the log, it would say unknow submission. If I use the admin tool submissions → upload with the same xml file, I would be able to get the https to retrieve the log.

submission.docx (106.5 KB)
query result.docx (61.1 KB)

Thanks for the additional details @csubtu . I see that we have received metadata and query test submissions from your csuc role. The submission ID should not be 0, so I can’t explain what might be the issue there.

You can see the submission IDs if you look at your recent submissions in the test admin tool - test.crossref.org:

Are you able to retrieve those submission IDs (e.g., 1440679027 )?

-Isaac

No, I wasn’t able to retrieve any submission using my own https post or curl as shown in the example. Notice that submission for query ID 1440679027 does not show up in the list. After failing to query for ID 1440679027, you can see in the list that I used the admin tool to submit the same xml file which was successfully resulted in ID 1440649517 (both same file name). This morning 9/6/2024, I created a new work from my application to trigger a metadata submission (generated xml file 7s75dd853_20240906174313.xml) to the test site the log of my application shows “Successful submitted to crossref code 200 message [OK] class Net::HTTPOK” but when I go the test site admin tool (after 2 hours later) to search for submission of all types, I don’t see any entry for 9/6/24. It seems like it doesn’t accept https post on the test system because I couldn’t search it and any query log for that would result “unknown_submission” because there isn’t one in the system.

Hello @csubtu,

Here’s the sample transaction using curl that you should be following for test (we do accept https post to test.crossref.org:

curl -F 'operation=doQueryUpload' -F 'login_id=[username]' -F 'login_passwd=[password]' -F 'fname=@[filename]' https://test.crossref.org/servlet/deposit

If you are submitting XML for a metadata registration you should be sending the operation: doMDUpload

-Isaac

Yes, I used the exact same command to submit today again and there was an error.
Submission ID: 1440702001

Hello @csubtu,

Please retry that submission using this operation: doMDUpload

-Isaac

I tried again with operation=doMDUpload and here’s the result.

[ec2-user@amazonlinux ~]$ curl -F ‘operation=doMDUpload’ -F ‘login=csuc’ -F ‘login_passwd=MyPassword’ -F ‘fname=@/home/ec2-user/data/crossref/d217qq85w_20240910160641.xml’ test_site_deposit_link

I waited for the queue in “show system queue” under the submission tab to
be emptied to query for the result.

“Query result for work d217qq85w”
“setting up test_submissionDownload_url?usr=csuc&pwd=MyPassword&type=result&file_name=d217qq85w_20240910160641.xml”
“result #<Net::HTTPOK 200 OK readbody=true>”
“successful query for status of code 200 message [OK] class Net::HTTPOK body [<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<doi_batch_diagnostic status="unknown_submission">\r\n <submission_id>0</submission_id>\r\n <batch_id />\r\n</doi_batch_diagnostic>]”
[ec2-user@amazonlinux scholarworks]$

Hello @csubtu,

Isaac is away from the office at the moment so I am going to try and help you out while he is out.

So I see one new submission in the submission logs since your last screenshot and that was a query deposit, submission ID 1440702001.

I don’t see a filename in the test system as d217qq85w_20240910160641.xml so it looks like this didn’t get POSTed to us successfully. This would be why when you try and search for the submission using the filename it is not returning a match.

Are any of the submissions in the submission log ones that have been POSTed to us rather than uploaded via the admin tool?

I see a variable “test_site_deposit_link” in your curl command and so I was hoping you would be able to let me know what that is so we can check the files should be getting to us.

If I was to try and retrieve a filename that we can see in the submission logs then it works:
https://test.crossref.org/servlet/submissionDownload?file_name=r207tq64w_20240905194547.xml&type=result&usr=csuc&pwd={MyPassword}

Thank you,
Paul

1 Like

Hi Paul,
It seems like the only way to post a metadata successfully to the test site is through the admin interface. We have a need to build it in our application to use HTTP post to post an XML metadata and have a task to later query for the result to update DOI once we receive a successful query result. I have followed the documentation on the website to do XML deposit using HTTP post with the operation “doMDUpload” but so far the submission doesn’t seem to go through even though I received 200 ok after the post. At first I tried it within my application but now I only use curl as showed in the website example without any luck. Is there anything I can do to either debug or figure out?
thanks,
Bryan

Hello Bryan,

Thanks for the reply.

I am going to do some testing and speak with the developers and infrastructure team on this as this should not be the behaviour if it is returning a 200 status code.

I have tested production and can confirm that it is working there so I will investigate the test environment as well now.

Thank you for your feedback on this.
Paul

1 Like

Hi Bryan,

Thanks for your patience while we work through this.

So I have managed to get the files to go through now when POSTing to the submission queue using cURL. Some strange things did happen though where they were not showing up originally, so I removed the permissions from the depositor ID (username) and then added them back and then the submissions did show in the submission logs. You should be able to see the tests from me with the addition to the filename of _pd at the end before the extension.

Can you try again and see if the removal of the permissions and adding them back again has helped here. I still don’t see the file d217qq85w_20240910160641.xml in the submission logs though.

Many thanks,
Paul

1 Like

Hi Paul,
I received 4 email notifications regarding batch_id r207tq64w_20240905194547 of failure but if I use the browser and query for the status it shows success for the same batch_id.

Looking at the admin interface Submissions with Administration tab and search for everything, everything in the list is 09/05/24 and older so I thought maybe d217qq85w_20240910160641.xml is lost somehow so I just submitted another xml metadata. However, looking at the Submissions tab ‘Show System Queue’ there is not submissions in metadata queue. It seems like any submission after 9/5/24 are not in the system.

Hello Bryan,

So the reason it is showing the successful message for that batch ID is because there are duplicate instances where that batch ID was included and it returns the first example that is found (the earliest I believe).

It is strange that you were not seeing anything newer than the 9th, at that point I was also seeing the three deposits I made on the 12th.

Having checked on the submission logs again today I see that you have made a couple of successful metadata deposits on the 18th.

Have you managed to get the HTTPS POST to work now?

Many thanks,
Paul

1 Like

Hello,
I just used the web deposit form to register 2 DOIs and have no emails confirming that they’ve been successful. My colleague tells me those emails usually come in right away. We successfully registered a DOI last week, and the emails came in right away. Can you please advise?

PS- In the admin console, it says the queue status has been suspended. I don’t understand how to read or interpret anything there. Can you please help?

Thank you!

1 Like