intercom-php
intercom-php copied to clipboard
404 on deprecated endpoints
When I tried to upgrade from api version 1.4 to 2.2 I got an exception with a 404 when I tried to query for users.
Version info
- intercom-php version: 4.4.
- Intercom API version: 2.2
- PHP version:7.2
Expected behavior
Get an errormessage that is useful.
Actual behavior
A generic 404 message that did not give any pointers.
Steps to reproduce (as granular as possible, including screenshots where appropriate)
$this->intercomClient = new IntercomClient($intercomAccessToken, null, ['Intercom-Version' => '2.2']); $response = $this->intercomClient->users->find([...]);
this issue still isn't resolved - i endpoints for getting users are not working.. downgrading from latest to 1.4 worked.