intercom-php icon indicating copy to clipboard operation
intercom-php copied to clipboard

could not able to create contact using php api

Open arunkvinam opened this issue 3 years ago • 2 comments

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)

  1. Create a contact via API
  2. Addidng credential external_id

arunkvinam avatar Jul 06 '21 09:07 arunkvinam

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.

msalamat avatar Jul 11 '21 22:07 msalamat

I'm getting a "conflict" error also, but when attempting to fire an event. Not sure what "conflict" would mean in that instance.

nicdev avatar Aug 07 '21 16:08 nicdev