Stacktrace (most recent call first):
File "/modules/contrib/monolog/src/Logger/Handler/DrupalHandler.php", line 78, in Drupal\monolog\Logger\Handler\DrupalHandler::write
$this->logger->log($level, $record['drupal_message'] ?? $record['message'], $context);
File "/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php", line 48, in Monolog\Handler\AbstractProcessingHandler::handle
$this->write($record);
File "/vendor/monolog/monolog/src/Monolog/Logger.php", line 379, in Monolog\Logger::addRecord
if (true === $handler->handle($record)) {
File "/vendor/monolog/monolog/src/Monolog/Logger.php", line 626, in Monolog\Logger::error
$this->addRecord(static::ERROR, (string) $message, $context);
File "/modules/custom/va_gov_post_api/src/Service/PostFacilityStatus.php", line 105, in Drupal\va_gov_post_api\Service\PostFacilityStatus::queueFacilityStatus
$this->loggerChannelFactory->get('va_gov_post_api')->error($message);
File "/modules/custom/va_gov_post_api/va_gov_post_api.module", line 49, in _post_api_add_facility_status_to_queue
return Drupal::service('va_gov_post_api.queue_facility_status_updates')->queueFacilityStatus($entity);
File "/modules/custom/va_gov_post_api/va_gov_post_api.module", line 16, in post_api_entity_insert
_post_api_add_facility_status_to_queue($entity);
File "/core/lib/Drupal/Core/Extension/ModuleHandler.php", line 426, in Drupal\Core\Extension\ModuleHandler::Drupal\Core\Extension\{closure}
$result = call_user_func_array($hook, $args);
File "/core/lib/Drupal/Core/Extension/ModuleHandler.php", line 405, in Drupal\Core\Extension\ModuleHandler::invokeAllWith
$callback($hookInvoker, $module);
File "/core/lib/Drupal/Core/Extension/ModuleHandler.php", line 433, in Drupal\Core\Extension\ModuleHandler::invokeAll
});
...
(46 additional frame(s) were not displayed)
Post API: attempted to add an item with NID <em class="placeholder">51881</em> to queue, but it had no Facility API ID. [dd.trace_id=6180306515929145918 dd.span_id=6180306515929145918]
Sentry Issue: PLATFORM-CMS-DRUPAL-40T