Hello,
Running 
dspace/bin/dspace doi-organiser -r

I get the following Exception..

2024-06-26 21:55:41,586 WARN  unknown unknown 
org.dspace.identifier.doi.DataCiteConnector @ While reserving the DOI 
doi:10.57996/cran.ceres-2558, we got a http status code 404 and the message 
"Not found".
2024-06-26 21:55:41,813 ERROR unknown unknown 
org.dspace.identifier.doi.DOIOrganiser @ It wasn't possible to register 
this identifier : doi:10.57996/cran.ceres-2558 online. Exceptions code: 
BAD_ANSWER
org.dspace.identifier.doi.DOIIdentifierException: Unable to parse an answer 
from DataCite API. Please have a look into DSpace logs.
        at 
org.dspace.identifier.doi.DataCiteConnector.reserveDOI(DataCiteConnector.java:458)
 
~[dspace-api-7.6.1.jar:7.6.1]
        at 
org.dspace.identifier.DOIIdentifierProvider.reserveOnline(DOIIdentifierProvider.java:403)
 
~[dspace-api-7.6.1.jar:7.6.1]
        at 
org.dspace.identifier.DOIIdentifierProvider.registerOnline(DOIIdentifierProvider.java:454)
 
~[dspace-api-7.6.1.jar:7.6.1]
        at 
org.dspace.identifier.doi.DOIOrganiser.register(DOIOrganiser.java:416) 
[dspace-api-7.6.1.jar:7.6.1]
        at 
org.dspace.identifier.doi.DOIOrganiser.register(DOIOrganiser.java:482) 
[dspace-api-7.6.1.jar:7.6.1]
        at 
org.dspace.identifier.doi.DOIOrganiser.runCLI(DOIOrganiser.java:248) 
[dspace-api-7.6.1.jar:7.6.1]
        at 
org.dspace.identifier.doi.DOIOrganiser.main(DOIOrganiser.java:103) 
[dspace-api-7.6.1.jar:7.6.1]
        at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method) ~[?:?]
        at 
jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
 
~[?:?]
        at 
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 
~[?:?]
        at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
        at 
org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:283) 
[dspace-api-7.6.1.jar:7.6.1]
        at 
org.dspace.app.launcher.ScriptLauncher.handleScript(ScriptLauncher.java:134) 
[dspace-api-7.6.1.jar:7.6.1]
        at 
org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:99) 
[dspace-api-7.6.1.jar:7.6.1]


Some of the config in dspace/config/spring/api/identifier-service.xml 

<bean id="org.dspace.identifier.DOIIdentifierProvider"
    class="org.dspace.identifier.VersionedDOIIdentifierProvider"
    scope="singleton">
    <property name="configurationService"
        ref="org.dspace.services.ConfigurationService" />
    <property name="DOIConnector"
        ref="org.dspace.identifier.doi.DOIConnector" />
    <!--<property name="dspaceDOIMetadataField"
              value="dc.identifier.doi" />-->
    <property name="filter" ref="doi-filter-collection" />
</bean>

    <bean id="org.dspace.identifier.doi.DOIConnector"
        class="org.dspace.identifier.doi.DataCiteConnector"
        scope="singleton">
        <property name='DATACITE_SCHEME' value='https'/>
        <property name='DATACITE_HOST' value='mds.test.datacite.org'/>
        <property name='DATACITE_DOI_PATH' value='/doi/' />
        <property name='DATACITE_METADATA_PATH' value='/metadata/' />
        <property name='disseminationCrosswalkName' value="DataCite" />
    </bean>

Has anyone encountered this problem and how di they resolve it?

Thanks
Nason

-- 
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/d09e3081-a4b4-4093-b215-770feb7c8230n%40googlegroups.com.

Reply via email to