We’ve included the GBIF API in a Node Enviroment project quite some time ago, and things well. Getting back there after some time now, it gives an Certificate Expired Error after trying an https request.
Using the url in a browser, it does give a full response.
Did anything change in the past month on the GBIF API that could produce this error ?
Also tried it with Fetch to pull in the data, but the same error. Hmmmm …
Thank you for your reply and it sheds some light on the issue. But, this would mean that the application can only run from a server side enviroment ?
Currently the program that connects to the GBIF API is only meant to run in client side.
A client-side Node application that isn’t running in the browser? That is probably using either the OS certificates, or those bundled with the application. Either way, it’s not something GBIF controls, but it should work.
It’s a React application (in dev enviroment) and indeed, not in casual browser atm. It was rendered as package in the past also, and that worked. Don’t know actually if that will works these days. Will play around with it some more to see where this is buggin’