Acquia DAM Item Update Queue not being ran

Created on 14 August 2025, 10 days ago

Problem/Motivation

Recently upgraded to the 1.1.3 version of the acquia_dam module (later 1.1.4 version to try and resolve the issue) and encountered assets on site are not being updated, but the preview images were. At first we thought this was a caching issue, but we discovered that the drupal queue used to process item updates from Widen to Drupal is not being ran during cron runs.

Specifically the acquia_dam_media_item_update queue is not being run, while the acquia_dam_integration_links queue is being processed normally. We are wondering if this is a bug, or if something within their code is preventing the queue from being run.

When we run the queue manually we are greeted with repeated 404 errors that an asset on the Widen instance no longer exists, but that asset does indeed exist on the drupal site. These errors are also present in the cron logs.

Queue List Pre Cron Run: 93 Items, and 6 Integration Links:

/var/www/html/docroot$ drush queue:list 
 ------------------------------------------ ------- --------------------------------- 
  Queue                                      Items   Class                            
 ------------------------------------------ ------- --------------------------------- 
  acquia_dam_media_item_update                   93      Drupal\Core\Queue\DatabaseQueue  
  acquia_dam_integration_links                  6       Drupal\Core\Queue\DatabaseQueue  
  entity_reference_revisions_orphan_purger   0       Drupal\Core\Queue\DatabaseQueue  
  locale_translation                           0       Drupal\Core\Queue\DatabaseQueue  
  media_entity_thumbnail                     0       Drupal\Core\Queue\DatabaseQueue  
  search_api_attachments                    6       Drupal\Core\Queue\DatabaseQueue  
 ------------------------------------------ ------- ---------------------------------

Post Cron Run: 100 items, and 0 Integration Links

/var/www/html/docroot$ drush queue:list
 ------------------------------------------ ------- --------------------------------- 
  Queue                                      Items   Class                            
 ------------------------------------------ ------- --------------------------------- 
  acquia_dam_media_item_update                   100     Drupal\Core\Queue\DatabaseQueue  
  acquia_dam_integration_links                     0       Drupal\Core\Queue\DatabaseQueue  
  entity_reference_revisions_orphan_purger   0       Drupal\Core\Queue\DatabaseQueue  
  locale_translation                           0       Drupal\Core\Queue\DatabaseQueue  
  media_entity_thumbnail                  0       Drupal\Core\Queue\DatabaseQueue  
  search_api_attachments                  0       Drupal\Core\Queue\DatabaseQueue  
 ------------------------------------------ ------- --------------------------------- 

Running the queue manually we are presented with repeated 404 errors. We did confirm this image no longer exists in widen, but does exist within their drupal site.

 [error]  Client error: `GET https://api.widencollective.com/v2/assets/66da4518-c1a8-41f7-b593-108ac1cdae28?expand=asset_properties,embeds,file_properties,metadata,metadata_info,metadata_vocabulary,security,thumbnails` resulted in a `404 Not Found` response:
{
  "error": true,
  "response_code": 404,
  "error_message": "Asset with id '66da4518-c1a8-41f7-b593-108ac1cdae28' was  (truncated...)
 
 [warning] Cannot get asset data from Widen API. Asset ID: <em class="placeholder">66da4518-c1a8-41f7-b593-108ac1cdae28</em>, error: <em class="placeholder">API responded with status: 404. If the issue persist contact the site admin. Error message: Client error: `GET https://api.widencollective.com/v2/assets/66da4518-c1a8-41f7-b593-108ac1cdae28?expand=asset_properties,embeds,file_properties,metadata,metadata_info,metadata_vocabulary,security,thumbnails` resulted in a `404 Not Found` response:
{
  &quot;error&quot;: true,
  &quot;response_code&quot;: 404,
  &quot;error_message&quot;: &quot;Asset with id &#039;66da4518-c1a8-41f7-b593-108ac1cdae28&#039; was  (truncated...)
</em>

Even right now that queue list continue to grows.

/var/www/html/docroot$ drush queue:list
 ------------------------------------------ ------- --------------------------------- 
  Queue                                      Items   Class                            
 ------------------------------------------ ------- --------------------------------- 
  acquia_dam_media_item_update               114     Drupal\Core\Queue\DatabaseQueue  
  acquia_dam_integration_links                     21       Drupal\Core\Queue\DatabaseQueue  
🐛 Bug report
Status

Active

Version

1.1

Component

Code

Created by

🇮🇳India rajeshreeputra Pune

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