Hi Tim!
Thank you for response and confirming the problem is in JSON vs. XML API response format.
This are our orcid.cfg settings :
# ORCID API
(https://github.com/ORCID/ORCID-Source/tree/master/orcid-api-web#endpoints)
orcid.domain-url= https://sandbox.orcid.org
#orcid.domain-url= https://orcid.org
orcid.authorize-url = ${orcid.domain-url}/oauth/authorize
orcid.token-url = ${orcid.domain-url}/oauth/token
orcid.api-url = https://sandbox.orcid.org/v3.0
orcid.public-url = https://pub.orcid.org/v3.0
#orcid.api-url = https://sandbox.orcid.org/
#orcid.api-url = https://orcid.org/
#orcid.public-url = https://pub.orcid.org/
orcid.redirect-url = ${dspace.server.url}/api/authn/orcid
# ORCID Credentials
# Your public or member API Credentials, see
# https://orcid.org/content/register-client-application-0
#
https://info.orcid.org/register-a-client-application-sandbox-member-api/
orcid.application-client-id = APP-U02MD7G60UZ7O4LL
orcid.application-client-secret =
9519762b-7660-48fa-a56f-952719df8430
--------------------
I have tried both
1. orcid.api-url = https://sandbox.orcid.org/v3.0
2. orcid.api-url = https://sandbox.orcid.org/
but the result was the same.
I have checked out ORCID account settings, but have found nothing there about setting the response format. In the ORCID documentation https://info.orcid.org/documentation/api-tutorials/api-tutorial-read-data-on-a-record/ chapter "A note on content types" I read: "ORCID supports multiple content types, including XML and several flavours of JSON. You can ask for your preferred type by including an “Accept header” in your API requests. This is called “content negotiation”."
When I switched DSpace to debug mode, the log contains all headers in API request - I attach it to this mail. I see no 'Accept' header would be added by DSpace.
Could you, please, check this at DSpace demo?
Thanks in advance! Best!
Matyas
--
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...@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.