Problem
- Opening a profile by its entity ID, or calling
GET {TenantURL}/entities/<entityId>, returns 404 "Object not found". - The entity existed before, and its source record still appears in Reltio, sometimes on a profile with a different entity ID.
- Some calls for the old ID, such as the crosswalk tree (
_crosswalkTree), still return data.
Cause
The entity was deleted, for example by a bulk delete or a Delete Entities task. The Delete Entities task uses soft mode by default: the entity is marked as deleted and can't be viewed or restored, but its data stays in storage. That's why a call such as the crosswalk tree can still return stored data for the old ID. A response from it doesn't mean the entity is active.
If the source system sends the same record again after the delete, Reltio creates a new entity with a new ID for it.
Diagnose
{TenantURL} is https://<environment>.reltio.com/reltio/api/<tenantId>.
Find the delete in the Activity Log:
GET {TenantURL}/activities?filter=equals(items.objectUri,'entities/<entityId>') and equals(items.data.type,'ENTITY_REMOVED') Authorization: Bearer <access_token>The record's
userandtimestampshow who deleted the entity and when. Itsitemslist every object the same activity affected, such as other deleted entities and their relations. By default, the Activity Log returns the last four months; for an older delete, add a timestamp range, for exampleand gt(timestamp,<epoch milliseconds>).Find where the source record is now, using the source system's ID for it (the crosswalk value):
GET {TenantURL}/entities/_byCrosswalk/<crosswalkValue>?type=configuration/sources/SourceA Authorization: Bearer <access_token>If this returns an entity with a different ID and a
createdTimeafter the delete, the record was reloaded into a new entity.
Solution
- Confirm with the user shown in the Activity Log whether the delete was intended. The Activity Log shows who and when, but not which tool or script started a bulk delete, so also check integrations that run with that user's credentials.
- A deleted entity can't be restored. Update downstream systems that store the old entity ID to use the new ID from Diagnose step 2, or look up records by crosswalk instead of by entity ID.
- Before running a bulk delete again, check the filter or URI list it uses, so that it covers only the entities you mean to delete.
Verify
GET {TenantURL}/entities/<newEntityId> returns the profile with the source crosswalk, and downstream systems no longer request the old ID.
Comments
Article is closed for comments.