Skip to main content

The connector is failing on the following request:

'https://api.intercom.io/contacts/5c0549cebebd285b4fa5426f/tags#39;

 

{"type":"error.list","request_id":"001icr5rttiaof24lkkg","errors"::{"code":"not_found","message":"User Not Found"}]}%

 

We make the following API request to get the contacts updated between a specified interval

 

curl -X POST --data '{"query":{"operator":"AND","value":t{"field":"updated_at","operator":">","value":1591488000},{"field":"updated_at","operator":"<","value":1594080000}]},"pagination":{"per_page":150,"starting_after":"WzE1ODUyNDgzOTAwMDAsIjVlNzg4MzdhMGE3MWI4MmRiZTU0MjMzZSIsMTld"}}' -H 'Authorization: Bearer XXXXX' -H 'Accept: application/json' -H 'Intercom-Version: 2.0' -H 'Content-Type: application/json' -A 'Jersey/2.31' 'https://api.intercom.io/contacts/search'

 

Here is the request id for this request: x-request-id: 0005npk9vlhd43v8fen0

 

Now for this request we get a response which contains a contact with id 5c0549cebebd285b4fa5426f

this contact has a total of 47 tags due to which we make the following request (to get all the tags):

 

curl -H 'Authorization: Bearer XXXX' -H 'Accept: application/json' -H 'Intercom-Version: 2.0' -A 'Jersey/2.31' 'https://api.intercom.io/contacts/5c0549cebebd285b4fa5426f/tags'

 

With x-request-id: 001io7b2fv1qipr8pl0g

it returns

{"type":"error.list","request_id":"001io7b2fv1qipr8pl0g","errors":s{"code":"not_found","message":"User Not Found"}]}

 

also normal request to get the contact fails:

curl -i -H 'Authorization: Bearer XXXX' -H 'Accept: application/json' -H 'Intercom-Version: 2.0' -A 'Jersey/2.31' 'https://api.intercom.io/contacts/5c0549cebebd285b4fa5426f'

 

x-request-id: 0002c49vo4oc7cuei61g

{"type":"error.list","request_id":"0002c49vo4oc7cuei61g","errors":o{"code":"not_found","message":"User Not Found"}]}

 

Could you please help?

 

Hey @roy s11​, you're a bit of a wizard when it comes to our API, can you spot what might be going wrong here?


Hi @fivetran d11​ , First of all can you check if the user with the following ID exists in Intercom?

Just go to - https://app.intercom.io/a/apps/_/users/5c0549cebebd285b4fa5426f/all-conversations/p>

 

once you are trying to retrieve the contact, you are getting "User Not Found" Yes?


Reply