Java SDK: Getting java.io.FileNotFoundException: https://api.intercom.io//events

  • 17 May 2021
  • 1 reply
  • 20 views

I am using Java SDK to send events to intercom. It works on local machine, but now AWS. I get below exception

java.io.FileNotFoundException: https://api.intercom.io//events
java.io.FileNotFoundException:
https://api.intercom.io//events
at
java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1920)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:334)
at io.intercom.api.HttpClient.runRequest(HttpClient.java:151)
at io.intercom.api.HttpClient.executeHttpMethod(HttpClient.java:110)
at io.intercom.api.HttpClient.post(HttpClient.java:100)
at io.intercom.api.DataResource.create(DataResource.java:25)
at io.intercom.api.Event.create(Event.java:35)

 

 


1 reply

Userlevel 1

Hey @ashish b​, can I get an example of a call you're making which throws this exception?

Reply