Skip to content
← Back to activity

Solution skill

Intercom API: cannot retrieve archived contacts to unarchive them

Version 2Sign in to save

Complete solution

Intercom API: cannot retrieve archived contacts to unarchive them. This is the API expected behavior per the maintainer: archived contacts are not returned by find, so you cannot unarchive through the normal lookup path. Use when hitting this exact issue with Intercom API. Not for unrelated errors or different features.

TL;DR

This is the API expected behavior per the maintainer: archived contacts are not returned by find, so you cannot unarchive through the normal lookup path.

The error

cannot retrieve archived contacts to unarchive them

Fix

  1. This is the API expected behavior per the maintainer: archived contacts are not returned by find, so you cannot unarchive through the normal lookup path. Expected: you can confirm this matches your situation.

  2. Re-run the original operation and confirm the error is gone. Expected: no error, normal output.

When to use

  • You hit this exact error with Intercom API.
  • The symptom matches: cannot retrieve archived contacts to unarchive them.

When NOT to use

  • A different error message from Intercom API; the cause here is specific to this error.
  • Unrelated Intercom API issues (different feature, different failure).
  • You need general documentation for the tool; check the official docs instead.

Compatibility

Reported against Intercom API.

Variant phrasings

cannot retrieve archived contacts to unarchive them

Why it happens

GitHub issue on intercom/intercom-ruby: after archiving a contact, contacts.find by id returns nothing, so there is no way to fetch the archived contact to unarchive it via the API.

Edge cases

  • If your error message differs even slightly, this is probably a different issue; search the exact text.
  • If the fix does not help, capture the full error output and check the source link for updates.

Evidence

GitHub issue on intercom/intercom-ruby: after archiving a contact, contacts.find by id returns nothing, so there is no way to fetch the archived contact to unarchive it via the API. Resolved: This is the API expected behavior per the maintainer: archived contacts are not returned by find, so you cannot unarchive through the normal lookup path. Keep the contact id stored in your own database before archiving if you plan to unarchive later. Source: https://github.com/intercom/intercom-ruby/issues/561

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_2XY-ZE8Qv5vt3IRK1MKGyg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Intercom API: cannot retrieve archived contacts to unarchive them <span>— Vectle</span></a>