What can I do if I receive "read timeout reached" errors while paging through DataCite DOI metadata using the REST API?

Errors like the following may be returned when paginating through DataCite DOI metadata using the /dois REST API endpoint:

{"status":400,"title":"read timeout reached"}

These errors often occur when retrieving a page containing unusually large DOI records. If you are using a page[size] URL parameter above the default 25, reduce the page[size] to 25 to retrieve the next page. For example, the following URL:

http://gfffh49e79e3f9b8541aesuxpbo0k6p99f6qfx.ffgi.yc2.bjmu.edu.cn/dois?disable-facets=true&page[cursor]=MTQ3MDkwMjc2NzAwMCwxMC4xNTQ2OC9kbC56MjZhanU&page[size]=1000

Would become:

http://gfffh49e79e3f9b8541aesuxpbo0k6p99f6qfx.ffgi.yc2.bjmu.edu.cn/dois?disable-facets=true&page[cursor]=MTQ3MDkwMjc2NzAwMCwxMC4xNTQ2OC9kbC56MjZhanU&page[size]=25


Did this page help you?