Missing integration links

Created on 30 August 2024, 3 months ago

Problem/Motivation

My logs are being filled with pages of errors
Something went wrong during integration link removal for entity: abcdef integration link: xyz. Error message: API responded with status: 400. If the issue persist contact the site admin. Error message: Client error: `DELETE https://arvest.acquiadam.com/api/rest/integrationlink/xyz` resulted in a `400 Bad Request` response: @"error":"Bad Request","description":"Integration link with uuid xyz does not exist"
and
Client error: `DELETE https://arvest.acquiadam.com/api/rest/integrationlink/xyz` resulted in a `400 Bad Request` response: @"error":"Bad Request","description":"Integration link with uuid xyz does not exist"

The associated asset id exists, and I see duplicated entries in the integration_link_id column in table acquia_dam_integration_link_tracking. It's logging the error because the integration link id 'xyz' doesn't exist in the api, mysite.acquiadam.com/api/rest/integrationlink.

My suspicion is that assets were archived in DAM but archiving them doesn't trigger the removal of the integration link, so the link ids end up as leftover debris.

Steps to reproduce

tbd

Proposed resolution

At the very least, the log should include the asset id, to make it easier to track down.

Remaining tasks

Determine why there are missing integration link ids and the best way to handle them.

πŸ“Œ Task
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States capysara

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024