Delete Webhook Fails

21 views
Skip to first unread message

Andrew Devenish-Meares

unread,
Oct 26, 2016, 6:40:47 PM10/26/16
to orcid-a...@googlegroups.com

Hi All,

Trying to delete a webhook in the sandbox with:

curl -v -H "Accept: application/json" -H "Authorization: Bearer  <token>"  -H "Content-Length: 0" -X DELETE "https
://sandbox.orcid.org/0000-0003-0552-7429/webhook/http%3A%2F%2Fmy-uat.une.edu.au%2Fapex%2Flibrary%2FORCID%2FUpdate"

Results in a return:

{"message-version":"1.2","orcid-profile":null,"orcid-search-results":null,"error
-desc":{"value":"Please specify a version number (1.2 or higher) : null for uri:
 http://sandbox.orcid.org/orcid-pub-web/0000-0003-0552-7429/webhook/http%3A%2F%2
Fmy-uat.une.edu.au%2Fapex%2Flibrary%2FORCID%2FUpdate"}}

I recall we had this issue when registering a webhook a while back.

Thanks

Andrew


University of New England  Rated five
            stars in the 2017 Good Universities Guide for Student
            Experience and Graduate Outcomes

Andrew Devenish-Meares
Solutions Analyst/Programmer
Information Services, Information Technology Directorate

University of New England
Armidale NSW 2351 Australia

Phone: 61 2 6773 4098
Email adev...@une.edu.au

www.une.edu.au
CRICOS Provider Number: 00003G

Wilmers, Catalina

unread,
Oct 26, 2016, 7:16:02 PM10/26/16
to Andrew Devenish-Meares, orcid-a...@googlegroups.com
Hi Andrew,

You're missing 'api' before the sandbox.orcid.org domain. Not your fault as our documentation was missing it too. I've fixed the documentation and if you put api into your URL it should work:

curl -v -H "Accept: application/json" -H "Authorization: Bearer  <token>"  -H "Content-Length: 0" -X DELETE "https://api.sandbox.orcid.org/0000-0003-0552-7429/webhook/http%3A%2F%2Fmy-uat.une.edu.au%2Fapex%2Flibrary%2FORCID%2FUpdate"

Best,
-Catalina

--
You received this message because you are subscribed to the Google Groups "ORCID API Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orcid-api-users+unsubscribe@googlegroups.com.
To post to this group, send email to orcid-api-users@googlegroups.com.
Visit this group at https://groups.google.com/group/orcid-api-users.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages