Skip to main content
Answered

Contacts resource search bad request


there is a problem executing query on contacts resource search, there is no problem with version, I’ve checked them few times, contacts resource seach gives me “Bad Request”
any solution what can be a problem ?
I’m using php sdk for intercom, project is written in laravel. everything is working fine on version 1.0, REST api calls are working fine when I’m defining intercom api version manually.

Best answer by gever2297

@Oseas thank you for your response, I’ve already fixed my issue, it caused by the wrong query structure
There was need to put query string under the “query” key when searching user.

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

2 replies

Oseas
Employee
Forum|alt.badge.img+4
  • Employee
  • 103 replies
  • April 21, 2023

Hey @gever2297! Oséas here from the Support Engineering team 🕵️

 

Could you please provide an example request that it’s returning a bad request along with the API version you’re using? Please make sure to hide any access token when sharing your API call.


  • Author
  • New Participant
  • 1 reply
  • Answer
  • April 21, 2023

@Oseas thank you for your response, I’ve already fixed my issue, it caused by the wrong query structure
There was need to put query string under the “query” key when searching user.


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