Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Semantic Scholar can return 'Internal Server Error' when API queried #39

Open
dgallichan opened this issue Jul 7, 2020 · 2 comments
Open

Comments

@dgallichan
Copy link
Member

When trying to run the update.rb script today I get an error because the BART package returns 'Internal Server Error' when queried in the Semantic Scholar API ( https://api.semanticscholar.org/v1/paper/10.1002/mrm.24751 ). If this persists or recurs then update.rb needs to be updated to be able to handle this case.

@notZaki
Copy link
Contributor

notZaki commented Sep 12, 2020

If the issue was resolved by retrying the same API call, then we could wrap the API call in ubdate.rb with a begin-rescue-retry block.

@dgallichan
Copy link
Member Author

It was not resolved by retrying the same API call consecutively - I had to wait a few days and then it worked again...

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants