Hi  Bhavesh,

You're seeing this error because your csv file is missing a mandatory id 
column. If you're editing the metadata of existing items then you'll need 
to create a new column with 'id' as the header; this column should contain 
the uuid for each item you want to edit.

If you want to use metadata-import to create new metadata-only items then 
create this column but use a plus sign '+' instead of the uuid.

There's more info on the 'id' column here: 
https://wiki.lyrasis.org/display/DSDOC8x/Batch+Metadata+Editing, 
including how to create metadata-only items.

Yours sincerely,

Peter

On Monday, 17 February 2025 at 11:38:54 UTC Bhavesh Patel wrote:

> Dear Team,
>
> I am facing an issue while importing the data in the DSpace 8.1 version.
>
> I am using the Import Metadata feature and providing a CSV file for 
> importing the data.
>
> I am getting the following error in this process output.
>
> CSV File
> [image: image.png]
>
> 2025-02-17 16:55:56.606 INFO metadata-import - 8 @ The script has started
> 2025-02-17 16:55:56.651 ERROR metadata-import - 8 @ Error reading file: UUID 
> string too large
> 2025-02-17 16:55:56.652 ERROR metadata-import - 8 @ java.lang.Exception: 
> Error reading file: UUID string too large
>       at 
> org.dspace.app.bulkedit.MetadataImport.internalRun(MetadataImport.java:207)
>       at org.dspace.scripts.DSpaceRunnable.run(DSpaceRunnable.java:150)
>       at 
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
>       at 
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
>       at java.base/java.lang.Thread.run(Thread.java:1583)
> Caused by: java.lang.IllegalArgumentException: UUID string too large
>       at java.base/java.util.UUID.fromString1(UUID.java:266)
>       at java.base/java.util.UUID.fromString(UUID.java:260)
>       at org.dspace.app.bulkedit.DSpaceCSV.addItem(DSpaceCSV.java:571)
>       at org.dspace.app.bulkedit.DSpaceCSV.<init>(DSpaceCSV.java:289)
>       at 
> org.dspace.app.bulkedit.MetadataImport.internalRun(MetadataImport.java:199)
>       ... 4 more
>
> [image: image.png]
>
>
>

-- 
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 visit 
https://groups.google.com/d/msgid/dspace-tech/fea8bdf5-7aba-4127-a9df-89c1966da10dn%40googlegroups.com.

Reply via email to