While trying to use commonapi, i get this JAVA exception “”.

I had clear my forward proxy with this URL(

Here is part of my code:

URL url = new URL(“” + postalCode + “&returnGeom=Y&getAddrDetails=”);

HttpURLConnection conn = (HttpURLConnection) url.openConnection();
conn.setRequestProperty(“Accept”, “application/json”);

conn.getResponseCode() != 200; /* The exception is thrown here */

kindly please advise

@bernardc do you have more information of that exception? Make sure you have a proper SSL cert (use letsencrypt) if you are using localhost (bind your hostname).