handle DOI metadata update for deleted accounts #174

Open
opened 2026-07-03 08:27:01 +00:00 by chartgerink · 1 comment
Owner

currently, the deleted accounts lead to no contributors being present. as a result, when updating the doi metadata - eg in batch, results in errors.

element contributors: Schemas validity error : Element '{http://www.crossref.org/schema/5.4.0}contributors': Missing child element(s). Expected is one of ( {http://www.crossref.org/schema/5.4.0}organization, {http://www.crossref.org/schema/5.4.0}person_name, {http://www.crossref.org/schema/5.4.0}anonymous ).

due to <contributors /> being empty.

I manually corrected it for now, so that I could update all the info, but in the future, it should be handled automatically.

currently, the deleted accounts lead to no contributors being present. as a result, when updating the doi metadata - eg in batch, results in errors. ``` element contributors: Schemas validity error : Element '{http://www.crossref.org/schema/5.4.0}contributors': Missing child element(s). Expected is one of ( {http://www.crossref.org/schema/5.4.0}organization, {http://www.crossref.org/schema/5.4.0}person_name, {http://www.crossref.org/schema/5.4.0}anonymous ). ``` due to `<contributors />` being empty. I manually corrected it for now, so that I could update all the info, but in the future, it should be handled automatically.
Author
Owner

Manual correction:

<contributors>
  <anonymous
    language="en"
    sequence="first"
    contributor_role="author"
    />
</contributors>
Manual correction: ``` <contributors> <anonymous language="en" sequence="first" contributor_role="author" /> </contributors> ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
researchequals/api#174
No description provided.