OJS plugin cannot update ORCID record. How to update manually?

62 views
Skip to first unread message

Edvin Erdtman

unread,
Apr 16, 2025, 5:53:08 AMApr 16
to ORCID API Users
We use the OJS ORCID plugin, and we published an article with an incorrect title. The title was changed and we republished. Then it appears in the log file that the plugin tries to submit to the ORCID API anew, but there is an error message. I have posted the problem to the plugin developer (Fail when trying to update a title of a publication · Issue #328 · pkp/orcidProfile). But how can we manually update the record via the API?

Here is part of the log file. First when the publication-record in ORCID was created and when the system tries to update it.  

2025-04-09 10:55:27.845 INFO Expected publication status (5 or 3):  5
2025-04-09 10:55:27.845 INFO Publishing  publication with id 5283
2025-04-09 10:55:27.900 INFO Request body (without put-code): {XXXX}
2025-04-09 10:55:27.900 INFO Publishing author work https://orcid.org/0000-0002-xxxx-xxxx
2025-04-09 10:55:27.901 INFO POST https://api.orcid.org/v3.0/0000-0002-xxxx-xxxx/work
2025-04-09 10:55:27.901 INFO Header: array (
  0 => 'Content-type: application/vnd.orcid+json',
  'Accept' => 'application/json',
  'Authorization' => 'Bearer xxx',
)
2025-04-09 10:55:28.474 INFO Response status: 201
2025-04-09 10:55:28.474 INFO Work added to profile, putCode: 0
...
2025-04-09 12:11:10.987 INFO Expected publication status (5 or 3):  3
2025-04-09 12:11:10.988 INFO Publishing  publication with id 6069
2025-04-09 12:11:11.057 INFO Request body (without put-code): {xxxx}
2025-04-09 12:11:11.057 INFO Publishing author work https://orcid.org/0000-0002-xxxx-xxxx
2025-04-09 12:11:11.057 INFO POST https://api.orcid.org/v3.0/0000-0002-xxxx-xxxx/work
2025-04-09 12:11:11.057 INFO Header: array (
  0 => 'Content-type: application/vnd.orcid+json',
  'Accept' => 'application/json',
  'Authorization' => 'Bearer xxxx',
)
2025-04-09 12:11:11.765 INFO Publication fail: {"response-code":409,"developer-message":"409 Conflict: You have already added this activity (matched by external identifiers), please see element with put-code 181883376. If you are trying to edit the item, please use PUT instead of POST.","user-message":"There was an error when updating the record. Please try again. If the error persists, please contact OJS for Linköping University Electronic Press for assistance.","error-code":9021,"more-info":"https://members.orcid.org/api/resources/troubleshooting"}

Edvin Erdtman

unread,
Apr 16, 2025, 5:55:28 AMApr 16
to ORCID API Users
We use the ORCID Member API, OJS 3.3.0.20 with the ORCID plugin version 1.1.3.14
Reply all
Reply to author
Forward
0 new messages