Skip to main content
Answered

Issue with creating new User from the java client throws NotFoundException

  • May 11, 2023
  • 1 reply
  • 87 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?

Best answer by Jacob Cox

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!

View original
Did this topic help you find an answer to your question?

1 reply

Jacob Cox
Intercom Team
Forum|alt.badge.img+5
  • Sr. Technical Support Engineer
  • 441 replies
  • Answer
  • May 14, 2023

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!


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