The error is telling you that you don't have the metadata contributor.author, maybe you want to either create it via the UI, or use contributor.creator. You can see the different kinds of metadatas you have via the UI, if you login as Admin.
-Jose On Mon, Aug 14, 2023 at 4:30 AM Sushant Virdi <sushantvi...@gmail.com> wrote: > > Hi team, > > I am trying to do a batch import on Dspace 7.2 but it fails with the > following error: > > > Extracting file: item_1/contents > Extracting file: item_1/dublin_core.xml > Extracting file: item_1/file1.pdf > Extracting file: item_2/contents > Extracting file: item_2/dublin_core.xml > Extracting file: item_2/file2.pdf > Adding items from directory: /opt/dspace-7/imports/import2.zip > Generating mapfile: 7 > Adding item from directory item_1 > Loading dublin core from > /opt/dspace-7/imports/import2.zip/item_1/dublin_core.xml > Schema: dc Element: title Qualifier: Value: KnE Import PDF 1 > Schema: dc Element: contributor Qualifier: author Value: Sushant Virdi > java.sql.SQLException: bad_dublin_core schema=dc.contributor.author. Metadata > field does not exist! > at > org.dspace.content.DSpaceObjectServiceImpl.addMetadata(DSpaceObjectServiceImpl.java:202) > at > org.dspace.content.DSpaceObjectServiceImpl.addMetadata(DSpaceObjectServiceImpl.java:322) > at > org.dspace.app.itemimport.ItemImportServiceImpl.addDCValue(ItemImportServiceImpl.java:940) > at > org.dspace.app.itemimport.ItemImportServiceImpl.loadDublinCore(ItemImportServiceImpl.java:907) > at > org.dspace.app.itemimport.ItemImportServiceImpl.loadMetadata(ItemImportServiceImpl.java:868) > at > org.dspace.app.itemimport.ItemImportServiceImpl.addItem(ItemImportServiceImpl.java:716) > at > org.dspace.app.itemimport.ItemImportServiceImpl.addItems(ItemImportServiceImpl.java:310) > at > org.dspace.app.itemimport.ItemImportCLITool.main(ItemImportCLITool.java:351) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.base/java.lang.reflect.Method.invoke(Method.java:566) > at > org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:277) > at > org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:133) > at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:98) > java.sql.SQLException: bad_dublin_core schema=dc.contributor.author. Metadata > field does not exist! > Deleting temporary zip directory: /opt/dspace-7/imports > Deleting temporary zip directory: /opt/dspace-7/imports > Started: 1692001552981 > Ended: 1692001556451 > > I have attached the import file which I am trying to import. Thank you! > > -- > All messages to this mailing list should adhere to the Code of Conduct: > https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx > --- > You received this message because you are subscribed to the Google Groups > "DSpace Technical Support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to dspace-tech+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/dspace-tech/98b022d0-c93d-4aed-af25-d7da4e15a8ean%40googlegroups.com. -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/CAK%3DKc-s22h0ra%2BPGKnbWX_BQhwJdDG3a7Rci2bRw3muV-1JviQ%40mail.gmail.com.