ORCID Authorization cURL error

Whenever I try to connect ORCID ID, it says “The ORCID authorization link has already been used or is invalid”. It was working just fine before, I don’t know why it stopped working. I didn’t upgrade the OJS nor the plugin.

Steps I took leading up to the issue

  1. Go to user profile
  2. Connect ORCID ID
  3. Error

OR

  1. Add a contributor in submissions
  2. Select ‘send e-mail to request ORCID authorization from contributor’
  3. Click the link received in the email
  4. Error

I’m using OJS 3.2.1.3
ORCiD profile plugin 1.1.2.28

Below is the error log:

[21-Sep-2023 05:34:31 UTC] ORCID CURL error:  (/home/u8862895/public_html/plugins/generic/orcidProfile/pages/OrcidHandler.inc.php line 85, URL )
[21-Sep-2023 05:34:32 UTC] Unexpected ORCID API response: 500 (/home/u8862895/public_html/plugins/generic/orcidProfile/pages/OrcidHandler.inc.php line 111, URL https://pub.orcid.org/v3.0//person)
[21-Sep-2023 05:34:33 UTC] Unexpected ORCID API response: 500 (/home/u8862895/public_html/plugins/generic/orcidProfile/pages/OrcidHandler.inc.php line 130, URL https://pub.orcid.org/v3.0//employments)
[21-Sep-2023 06:27:07 UTC] ORCID CURL error:  (/home/u8862895/public_html/plugins/generic/orcidProfile/pages/OrcidHandler.inc.php line 85, URL )
[21-Sep-2023 06:27:08 UTC] Unexpected ORCID API response: 500 (/home/u8862895/public_html/plugins/generic/orcidProfile/pages/OrcidHandler.inc.php line 111, URL https://pub.orcid.org/v3.0//person)
[21-Sep-2023 06:27:09 UTC] Unexpected ORCID API response: 500 (/home/u8862895/public_html/plugins/generic/orcidProfile/pages/OrcidHandler.inc.php line 130, URL https://pub.orcid.org/v3.0//employments)
[21-Sep-2023 06:27:31 UTC] ORCID CURL error:  (/home/u8862895/public_html/plugins/generic/orcidProfile/pages/OrcidHandler.inc.php line 85, URL )
[21-Sep-2023 06:27:31 UTC] Unexpected ORCID API response: 500 (/home/u8862895/public_html/plugins/generic/orcidProfile/pages/OrcidHandler.inc.php line 111, URL https://pub.orcid.org/v3.0//person)
[21-Sep-2023 06:27:32 UTC] Unexpected ORCID API response: 500 (/home/u8862895/public_html/plugins/generic/orcidProfile/pages/OrcidHandler.inc.php line 130, URL https://pub.orcid.org/v3.0//employments)
[21-Sep-2023 13:11:27 UTC] ORCID CURL error:  (/home/u8862895/public_html/plugins/generic/orcidProfile/pages/OrcidHandler.inc.php line 85, URL )
[21-Sep-2023 13:21:29 UTC] ORCID CURL error:  (/home/u8862895/public_html/plugins/generic/orcidProfile/pages/OrcidHandler.inc.php line 85, URL )

Hi @auliasyarif,

See: [ojs 3.2.0.3] ORCID 400 Bad request: invalid JSON - #15 by asmecher

Regards,
Alec Smecher
Public Knowledge Project Team

Thanks @asmecher , it’s working now

1 Like

This topic was automatically closed after 4 days. New replies are no longer allowed.