intercom-php
intercom-php copied to clipboard
could not able to create contact using php api
Please use the following template to submit your issue. Following this template will allow us to quickly investigate and help you with your issue. Please be aware that issues which do not conform to this template may be closed.
For feature requests please contact us at [email protected]
Version info
- intercom-php version: 4.4.3
- Intercom API version: 2.3
- PHP version: 7.3
Expected behavior
Able to create contact using intercom php api
Actual behavior
try to create contact using
$client->contacts->create([
'email' => '[email protected]',
'external_id' => '2022'
]);
But get an error response "Conflict"
While checking intercom account . there is not exising contact with user_id with 2022 and email
But not happened in all request.
Able to create this contact using intercom panel
Steps to reproduce (as granular as possible, including screenshots where appropriate)
- Create a contact via API
- Addidng credential external_id
Not using the SDK is the solution. I've found too many issues. Waste of time to help track it because they go unaddressed even before "maintenance" mode became active.
I'm getting a "conflict" error also, but when attempting to fire an event. Not sure what "conflict" would mean in that instance.