From Valeria, > In new invenioRDM, files are outside metadata in the new api. See the difference here: https://staging-archive.materialscloud.org/api/records/1414 current version https://dev-inveniordm.materialscloud.org/api/records/tqea8-ag515 new version with invenioRDM also, the record_id will be different. So, we need to update the script before we move to the new version of the Archive. https://github.com/materialscloud-org/optimade-maker/blob/94073acf198107d1bc00f482b21c8e4d82edf9f0/src/optimake/archive/archive_record.py#L113 Will come to this later.