Answered

Issue with creating new User from the java client throws NotFoundException

  • 11 May 2023
  • 1 reply
  • 52 views

I’m using the 2.8.2 version of the app, I used the access token to connect to company account, but it seems like none of the api’s working, there was a thread on the scroll not working https://github.com/intercom/intercom-java/issues/185 but in my case the scroll api doesn’t seem to respond either as I get the same response “io.intercom.api.NotFoundException: The requested resource does not exist; check your path and try again”. did anyone run into similar issues? if yes how’d you solve it?

icon

Best answer by Jacob Cox 14 May 2023, 23:18

View original

1 reply

Userlevel 4
Badge +5

Hi there@Prajwal !

It sounds like you’re trying to use version 2.8 (there is no 2.8.2) of our REST API to retrieve a single company, is that correct?

According to these docs:

You can fetch a company by either passing in company_id or name as a query parameter.

A company can also be fetched by its name using a name or company_id parameter in the url, whose values are the ones you have defined for that company -
https://api.intercom.io/companies?name={name}

https://api.intercom.io/companies?company_id={company_id}

You’ll also want to make sure that you’re calling this as a GET and passing an ‘Accept’ header of ‘application/json’. 

It’s also always a good call to double check that you’re using the correct Authentication Token for the correct workspace.

Let me know if you’re still having issues after double checking all of that!

Reply