opencitations / api

Software for creating REST API
1 stars 1 forks source link

API returns unhandled exception #6

Closed bgyori closed 2 years ago

bgyori commented 2 years ago

Hello, I noticed that queries are currently erroring on the public API. For example: https://opencitations.net/index/api/v1/citation-count/10.1142/9789812701527_0009 shows

Unhandled Exception
An unhandled exception was thrown by the application.

Thanks for looking into it!

ivanhb commented 2 years ago

Hi, we have tested and checked this operation and it looks fine. It could happen due to an unusual temporal server overload. Yet, be sure that in case you are specifying the OpenCitations access token (https://opencitations.net/accesstoken) in the "authorization" header of your API operation, it must correctly correspond to the actual value of your assigned token (note: specifying the "authorization" header without any value, returns an error as well).

Thanks for your notification and patience.

bgyori commented 2 years ago

Thanks, it seems to be working now! This happened on various endpoints for at least a few hours yesterday so I thought I'd report it.