Answered

Contacts resource search bad request

  • 19 April 2023
  • 2 replies
  • 53 views

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.

icon

Best answer by gever2297 21 April 2023, 15:08

View original

2 replies

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.

@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.

Reply