gbif / hosted-portals

Support material for establishing the GBIF Hosted Portals
Apache License 2.0
9 stars 6 forks source link

Literature pages produce blank screen #195

Closed albenson-usgs closed 2 years ago

albenson-usgs commented 2 years ago

For the GBIF North America and GBIF.us portals when you select Literature From the resulting screen is blank. This is also true for GBIF North America literature about. The GBIF.us Publications About does still work. We have tested on multiple computers using both Mac and PC on Chrome and Firefox.

MortenHofft commented 2 years ago

It seems that the APIs have changed behaviour. The website clearly fails very ungracefully. But the underlying issue is the API.

https://api.gbif.org/v1/literature/search?limit=20&offset=0&countriesOfResearcher=US&countriesOfResearcher=CA&countriesOfResearcher=MX&countriesOfResearcher=UM&countriesOfResearcher=PR&countriesOfResearcher=VI&countriesOfResearcher=AS&countriesOfResearcher=GU&countriesOfResearcher=MP

MortenHofft commented 2 years ago

I've created an issue for the API bug here https://github.com/gbif/literature-ws/issues/6

MortenHofft commented 2 years ago

Thanks @albenson-usgs - I've split the issue into two (API bug and insufficient error handling in the interface) and will close this.

MortenHofft commented 2 years ago

I've added some basic error handling for now. The APIs still fail, but at least it isn't just a blank screen, but a message to the user.