Skip to main content

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

  • May 17, 2021
  • 1 reply
  • 28 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

Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • May 18, 2021

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings