Hi Matyas, That does sound like the ORCID API is responding with JSON. You may want to check your ORCID configs closely, as DSpace *requires* using the XML response of the ORCID APIs (ORCID APIs provide either a JSON or XML response).
My suspicion is that one of your ORCID configs might be unexpectedly causing you to get the JSON response... but I admit, I'm not sure which one. These are the configs I'm talking about: https://wiki.lyrasis.org/display/DSDOC7x/ORCID+Integration#ORCIDIntegration-Enabletheintegration That's just a very quick guess. Overall, I think we'd need more info about your setup and configs to help out more. I can verify that the ORCID integration is working fine on our demo site (https://demo.dspace.org/) using ORCID's Sandbox API. Tim On Friday, September 1, 2023 at 2:30:23 AM UTC-5 matyas...@gmail.com wrote: > Hi! > > Please, could you help me with ORCID API integration I am trying to > implement? I have made all settings as clearly described here > > https://wiki.lyrasis.org/display/DSDOC7x/ORCID+Integration?src=contextnavpagetreemode > > Still, I get the following error in dspace.log and in new submission > form I get suggestions only from Solr authorities, but no Orcid : > > 2023-09-01 09:21:54,721 INFO fc77dd56-841e-4e6e-a659-e8ca1a98afa2 > 771249eb-c724-4a13-91a4-0c56bb2bf984 > org.dspace.app.rest.utils.DSpaceAPIRequestLoggingFilter @ Before request > [GET /server/api/sub > mission/vocabularies/SolrAuthorAuthority/entries] originated from > /workspaceitems/20/edit > 2023-09-01 09:21:55,227 ERROR fc77dd56-841e-4e6e-a659-e8ca1a98afa2 > 771249eb-c724-4a13-91a4-0c56bb2bf984 > org.dspace.content.authority.SolrAuthority @ Error > java.lang.RuntimeException: Unable to unmarshall orcid message: > javax.xml.bind.UnmarshalException > - with linked exception: > [com.sun.istack.SAXParseException2; lineNumber: 1; columnNumber: 16; > unexpected element (uri:"", local:"html"). Expected elements are > <{http://www.orcid.org/ns/common}orcid-identifier>,<{http://www > .orcid.org/ns/search}search <http://orcid.org/ns/search%7Dsearch>>] > at > org.dspace.external.provider.orcid.xml.Converter.unmarshall(Converter.java:43) > > > ~[dspace-api-7.6.jar:7.6] > > ------- > > By this message, it looks to me that the response might be in JSON, but > XML is expected by DSpace. Or is there other problem? > > Thanks a lot in advance!! > > Regards! > > Matyas F. Bajger > > University of Ostrava - University Library, Czech Republic > https://library.osu.eu > > > -- 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/9c187773-58f1-47cc-9c3f-d6f011c815fbn%40googlegroups.com.