Error 500 Internal Server Error

GET https://marketplace-preprod.philibertnet.com/api/orders

Exceptions

An exception occurred while executing a query: SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "uniq_f52993988af8e607"
DETAIL: Key (external_reference)=(3679411_ANTAD) already exists.

Exceptions 3

Doctrine\DBAL\Exception\ UniqueConstraintViolationException

Show exception properties
Doctrine\DBAL\Exception\UniqueConstraintViolationException {#2983
  -query: Doctrine\DBAL\Query {#2976
    -sql: "INSERT INTO "order" (id, external_id, external_reference, reference, payment_method, customer_email_token, transaction_id, total_paid, total_paid_with_tax, total_products, total_products_with_tax, total_shipping, total_captured_tax, total_shipping_with_tax, created_at, updated_at, has_been_updated, sales_commission, sales_commission_amount, tracking_number, warning, logistic_message, logistic_id, language_id, company_id, delivery_address_id, billing_address_id, company_carrier_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
    -params: array:28 [
      1 => 68926
      2 => 3679411
      3 => "3679411_ANTAD"
      4 => "3_ANTAD"
      5 => "stripe"
      6 => "verguet@antadis.com"
      7 => "pi_3UcSCdFNlVHenCFN1zo7t6jP"
      8 => "42.50"
      9 => "44.40"
      10 => "32.50"
      11 => "32.50"
      12 => "10.00"
      13 => "0.00"
      14 => "11.90"
      15 => DateTimeImmutable @1795602003 {#2692
        date: 2026-11-25 10:20:03.657197 UTC (+00:00)
      }
      16 => DateTimeImmutable @1795602003 {#2914
        date: 2026-11-25 10:20:03.657198 UTC (+00:00)
      }
      17 => false
      18 => "0.1012"
      19 => "4.49"
      20 => null
      21 => false
      22 => null
      23 => null
      24 => 1
      25 => 1
      26 => 609979
      27 => 609980
      28 => 3
    ]
    -types: array:28 [
      1 => "integer"
      2 => "integer"
      3 => "string"
      4 => "string"
      5 => "string"
      6 => "string"
      7 => "string"
      8 => "decimal"
      9 => "decimal"
      10 => "decimal"
      11 => "decimal"
      12 => "decimal"
      13 => "decimal"
      14 => "decimal"
      15 => "datetime_immutable"
      16 => "datetime_immutable"
      17 => "boolean"
      18 => "decimal"
      19 => "decimal"
      20 => "string"
      21 => "boolean"
      22 => "text"
      23 => "integer"
      24 => "integer"
      25 => "integer"
      26 => "integer"
      27 => "integer"
      28 => "integer"
    ]
  }
}
  1. case '23503':
  2. return new ForeignKeyConstraintViolationException($exception, $query);
  3. case '23505':
  4. return new UniqueConstraintViolationException($exception, $query);
  5. case '3D000':
  6. return new DatabaseDoesNotExist($exception, $query);
  7. case '3F000':
  1. private function handleDriverException(
  2. Driver\Exception $driverException,
  3. ?Query $query,
  4. ): DriverException {
  5. $this->exceptionConverter ??= $this->driver->getExceptionConverter();
  6. $exception = $this->exceptionConverter->convert($driverException, $query);
  7. if ($exception instanceof ConnectionLost) {
  8. $this->close();
  9. }
  1. Driver\Exception $e,
  2. string $sql,
  3. array $params = [],
  4. array $types = [],
  5. ): DriverException {
  6. return $this->handleDriverException($e, new Query($sql, $params, $types));
  7. }
  8. /** @internal */
  9. final public function convertException(Driver\Exception $e): DriverException
  10. {
  1. return new Result(
  2. $this->stmt->execute(),
  3. $this->conn,
  4. );
  5. } catch (Driver\Exception $ex) {
  6. throw $this->conn->convertExceptionDuringQuery($ex, $this->sql, $this->params, $this->types);
  7. }
  8. }
  9. /**
  10. * Executes the statement with the currently bound parameters and return result.
  1. *
  2. * @throws Exception
  3. */
  4. public function executeStatement(): int|string
  5. {
  6. return $this->execute()->rowCount();
  7. }
  8. /**
  9. * Gets the wrapped driver statement.
  10. */
  1. foreach ($insertData[$tableName] as $column => $value) {
  2. $stmt->bindValue($paramIndex++, $value, $this->columnTypes[$column]);
  3. }
  4. }
  5. $stmt->executeStatement();
  6. if ($isPostInsertId) {
  7. $generatedId = $idGenerator->generateId($this->em, $entity);
  8. $id = [$this->class->identifier[0] => $generatedId];
  1. $persister->addInsert($entity);
  2. unset($this->entityInsertions[$oid]);
  3. }
  4. $persister->executeInserts();
  5. foreach ($batch->entities as $entity) {
  6. $oid = spl_object_id($entity);
  7. if (! isset($this->entityIdentifiers[$oid])) {
  1. // Perform entity insertions first, so that all new entities have their rows in the database
  2. // and can be referred to by foreign keys. The commit order only needs to take new entities
  3. // into account (new entities referring to other new entities), since all other types (entities
  4. // with updates or scheduled deletions) are currently not a problem, since they are already
  5. // in the database.
  6. $this->executeInserts();
  7. }
  8. if ($this->entityUpdates) {
  9. // Updates are executed in a consistent order (class name, then entity ID (hash)) to eliminate deadlock
  10. // risk in concurrent update transactions ("Process X waits for ShareLock on transaction Y; blocked
  1. * @throws ORMException
  2. */
  3. public function flush(): void
  4. {
  5. $this->errorIfClosed();
  6. $this->unitOfWork->commit();
  7. }
  8. /**
  9. * {@inheritDoc}
  10. */
EntityManager->flush() in src/Processor/OrderPostProcessor.php (line 114)
  1. }
  2. // Create Order
  3. $order = $this->createOrder($data);
  4. $this->entityManager->persist($order);
  5. $this->entityManager->flush();
  6. $orderPlacedEvent = new OrderEvents($order);
  7. $this->eventDispatcher->dispatch($orderPlacedEvent);
  8. return $order;
  9. }
  1. }
  2. /** @var ProcessorInterface<T1, T2> $processorInstance */
  3. $processorInstance = $this->locator->get($processor);
  4. return $processorInstance->process($data, $operation, $uriVariables, $context);
  5. }
  6. }
  1. ) {
  2. return $this->processor ? $this->processor->process($data, $operation, $uriVariables, $context) : $data;
  3. }
  4. $this->stopwatch?->start('api_platform.processor.write');
  5. $data = $this->callableProcessor->process($data, $operation, $uriVariables, $context);
  6. $this->stopwatch?->stop('api_platform.processor.write');
  7. return $this->processor ? $this->processor->process($data, $operation, $uriVariables, $context) : $data;
  8. }
  9. }
  1. // Only validate at the processor level when ObjectMapper is used (canMap() is true).
  2. // Without ObjectMapper, ValidateProvider already handles validation in the provider chain,
  3. // so running it again here would cause duplicate external API calls and DB queries.
  4. if (!$operation->canMap()) {
  5. return $this->decorated ? $this->decorated->process($data, $operation, $uriVariables, $context) : $data;
  6. }
  7. $this->validator->validate($data, $operation->getValidationContext() ?? []);
  8. return $this->decorated ? $this->decorated->process($data, $operation, $uriVariables, $context) : $data;
  1. if (null === $operation->canSerialize()) {
  2. $operation = $operation->withSerialize(true);
  3. }
  4. return $this->processor->process($body, $operation, $uriVariables, $context);
  5. }
  6. }
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response, $controllerMetadata);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type, $controllerMetadata);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. $response->send(false);
  7. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
  8. fastcgi_finish_request();
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/www/marketplace-preprod.philibertnet.com/shared/vendor/autoload_runtime.php') in /home/www/marketplace-preprod.philibertnet.com/releases/261/public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5. $debug = $_GET['debugAntadis'] ?? $context['APP_DEBUG'];
  6. return new Kernel($context['APP_ENV'], $debug);
  7. };

Doctrine\DBAL\Driver\PDO\ Exception

SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "uniq_f52993988af8e607" DETAIL: Key (external_reference)=(3679411_ANTAD) already exists.

  1. } else {
  2. $code = $exception->getCode();
  3. $sqlState = null;
  4. }
  5. return new self($exception->getMessage(), $sqlState, $code, $exception);
  6. }
  7. }
  1. public function execute(): Result
  2. {
  3. try {
  4. $this->stmt->execute();
  5. } catch (PDOException $exception) {
  6. throw Exception::new($exception);
  7. }
  8. return new Result($this->stmt);
  9. }
  1. $this->wrappedStatement->bindValue($param, $value, $type);
  2. }
  3. public function execute(): Result
  4. {
  5. return $this->wrappedStatement->execute();
  6. }
  7. }
  1. 'sql' => $this->sql,
  2. 'params' => $this->params,
  3. 'types' => $this->types,
  4. ]);
  5. return parent::execute();
  6. }
  7. }
  1. $this->wrappedStatement->bindValue($param, $value, $type);
  2. }
  3. public function execute(): Result
  4. {
  5. return $this->wrappedStatement->execute();
  6. }
  7. }
  1. $this->stopwatch?->start('doctrine', 'doctrine');
  2. $query->start();
  3. try {
  4. return parent::execute();
  5. } finally {
  6. $query->stop();
  7. $this->stopwatch?->stop('doctrine');
  8. }
  9. }
  1. /** @throws Exception */
  2. private function execute(): Result
  3. {
  4. try {
  5. return new Result(
  6. $this->stmt->execute(),
  7. $this->conn,
  8. );
  9. } catch (Driver\Exception $ex) {
  10. throw $this->conn->convertExceptionDuringQuery($ex, $this->sql, $this->params, $this->types);
  11. }
  1. *
  2. * @throws Exception
  3. */
  4. public function executeStatement(): int|string
  5. {
  6. return $this->execute()->rowCount();
  7. }
  8. /**
  9. * Gets the wrapped driver statement.
  10. */
  1. foreach ($insertData[$tableName] as $column => $value) {
  2. $stmt->bindValue($paramIndex++, $value, $this->columnTypes[$column]);
  3. }
  4. }
  5. $stmt->executeStatement();
  6. if ($isPostInsertId) {
  7. $generatedId = $idGenerator->generateId($this->em, $entity);
  8. $id = [$this->class->identifier[0] => $generatedId];
  1. $persister->addInsert($entity);
  2. unset($this->entityInsertions[$oid]);
  3. }
  4. $persister->executeInserts();
  5. foreach ($batch->entities as $entity) {
  6. $oid = spl_object_id($entity);
  7. if (! isset($this->entityIdentifiers[$oid])) {
  1. // Perform entity insertions first, so that all new entities have their rows in the database
  2. // and can be referred to by foreign keys. The commit order only needs to take new entities
  3. // into account (new entities referring to other new entities), since all other types (entities
  4. // with updates or scheduled deletions) are currently not a problem, since they are already
  5. // in the database.
  6. $this->executeInserts();
  7. }
  8. if ($this->entityUpdates) {
  9. // Updates are executed in a consistent order (class name, then entity ID (hash)) to eliminate deadlock
  10. // risk in concurrent update transactions ("Process X waits for ShareLock on transaction Y; blocked
  1. * @throws ORMException
  2. */
  3. public function flush(): void
  4. {
  5. $this->errorIfClosed();
  6. $this->unitOfWork->commit();
  7. }
  8. /**
  9. * {@inheritDoc}
  10. */
EntityManager->flush() in src/Processor/OrderPostProcessor.php (line 114)
  1. }
  2. // Create Order
  3. $order = $this->createOrder($data);
  4. $this->entityManager->persist($order);
  5. $this->entityManager->flush();
  6. $orderPlacedEvent = new OrderEvents($order);
  7. $this->eventDispatcher->dispatch($orderPlacedEvent);
  8. return $order;
  9. }
  1. }
  2. /** @var ProcessorInterface<T1, T2> $processorInstance */
  3. $processorInstance = $this->locator->get($processor);
  4. return $processorInstance->process($data, $operation, $uriVariables, $context);
  5. }
  6. }
  1. ) {
  2. return $this->processor ? $this->processor->process($data, $operation, $uriVariables, $context) : $data;
  3. }
  4. $this->stopwatch?->start('api_platform.processor.write');
  5. $data = $this->callableProcessor->process($data, $operation, $uriVariables, $context);
  6. $this->stopwatch?->stop('api_platform.processor.write');
  7. return $this->processor ? $this->processor->process($data, $operation, $uriVariables, $context) : $data;
  8. }
  9. }
  1. // Only validate at the processor level when ObjectMapper is used (canMap() is true).
  2. // Without ObjectMapper, ValidateProvider already handles validation in the provider chain,
  3. // so running it again here would cause duplicate external API calls and DB queries.
  4. if (!$operation->canMap()) {
  5. return $this->decorated ? $this->decorated->process($data, $operation, $uriVariables, $context) : $data;
  6. }
  7. $this->validator->validate($data, $operation->getValidationContext() ?? []);
  8. return $this->decorated ? $this->decorated->process($data, $operation, $uriVariables, $context) : $data;
  1. if (null === $operation->canSerialize()) {
  2. $operation = $operation->withSerialize(true);
  3. }
  4. return $this->processor->process($body, $operation, $uriVariables, $context);
  5. }
  6. }
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response, $controllerMetadata);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type, $controllerMetadata);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. $response->send(false);
  7. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
  8. fastcgi_finish_request();
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/www/marketplace-preprod.philibertnet.com/shared/vendor/autoload_runtime.php') in /home/www/marketplace-preprod.philibertnet.com/releases/261/public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5. $debug = $_GET['debugAntadis'] ?? $context['APP_DEBUG'];
  6. return new Kernel($context['APP_ENV'], $debug);
  7. };

PDOException

SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "uniq_f52993988af8e607" DETAIL: Key (external_reference)=(3679411_ANTAD) already exists.

  1. }
  2. public function execute(): Result
  3. {
  4. try {
  5. $this->stmt->execute();
  6. } catch (PDOException $exception) {
  7. throw Exception::new($exception);
  8. }
  9. return new Result($this->stmt);
  1. }
  2. public function execute(): Result
  3. {
  4. try {
  5. $this->stmt->execute();
  6. } catch (PDOException $exception) {
  7. throw Exception::new($exception);
  8. }
  9. return new Result($this->stmt);
  1. $this->wrappedStatement->bindValue($param, $value, $type);
  2. }
  3. public function execute(): Result
  4. {
  5. return $this->wrappedStatement->execute();
  6. }
  7. }
  1. 'sql' => $this->sql,
  2. 'params' => $this->params,
  3. 'types' => $this->types,
  4. ]);
  5. return parent::execute();
  6. }
  7. }
  1. $this->wrappedStatement->bindValue($param, $value, $type);
  2. }
  3. public function execute(): Result
  4. {
  5. return $this->wrappedStatement->execute();
  6. }
  7. }
  1. $this->stopwatch?->start('doctrine', 'doctrine');
  2. $query->start();
  3. try {
  4. return parent::execute();
  5. } finally {
  6. $query->stop();
  7. $this->stopwatch?->stop('doctrine');
  8. }
  9. }
  1. /** @throws Exception */
  2. private function execute(): Result
  3. {
  4. try {
  5. return new Result(
  6. $this->stmt->execute(),
  7. $this->conn,
  8. );
  9. } catch (Driver\Exception $ex) {
  10. throw $this->conn->convertExceptionDuringQuery($ex, $this->sql, $this->params, $this->types);
  11. }
  1. *
  2. * @throws Exception
  3. */
  4. public function executeStatement(): int|string
  5. {
  6. return $this->execute()->rowCount();
  7. }
  8. /**
  9. * Gets the wrapped driver statement.
  10. */
  1. foreach ($insertData[$tableName] as $column => $value) {
  2. $stmt->bindValue($paramIndex++, $value, $this->columnTypes[$column]);
  3. }
  4. }
  5. $stmt->executeStatement();
  6. if ($isPostInsertId) {
  7. $generatedId = $idGenerator->generateId($this->em, $entity);
  8. $id = [$this->class->identifier[0] => $generatedId];
  1. $persister->addInsert($entity);
  2. unset($this->entityInsertions[$oid]);
  3. }
  4. $persister->executeInserts();
  5. foreach ($batch->entities as $entity) {
  6. $oid = spl_object_id($entity);
  7. if (! isset($this->entityIdentifiers[$oid])) {
  1. // Perform entity insertions first, so that all new entities have their rows in the database
  2. // and can be referred to by foreign keys. The commit order only needs to take new entities
  3. // into account (new entities referring to other new entities), since all other types (entities
  4. // with updates or scheduled deletions) are currently not a problem, since they are already
  5. // in the database.
  6. $this->executeInserts();
  7. }
  8. if ($this->entityUpdates) {
  9. // Updates are executed in a consistent order (class name, then entity ID (hash)) to eliminate deadlock
  10. // risk in concurrent update transactions ("Process X waits for ShareLock on transaction Y; blocked
  1. * @throws ORMException
  2. */
  3. public function flush(): void
  4. {
  5. $this->errorIfClosed();
  6. $this->unitOfWork->commit();
  7. }
  8. /**
  9. * {@inheritDoc}
  10. */
EntityManager->flush() in src/Processor/OrderPostProcessor.php (line 114)
  1. }
  2. // Create Order
  3. $order = $this->createOrder($data);
  4. $this->entityManager->persist($order);
  5. $this->entityManager->flush();
  6. $orderPlacedEvent = new OrderEvents($order);
  7. $this->eventDispatcher->dispatch($orderPlacedEvent);
  8. return $order;
  9. }
  1. }
  2. /** @var ProcessorInterface<T1, T2> $processorInstance */
  3. $processorInstance = $this->locator->get($processor);
  4. return $processorInstance->process($data, $operation, $uriVariables, $context);
  5. }
  6. }
  1. ) {
  2. return $this->processor ? $this->processor->process($data, $operation, $uriVariables, $context) : $data;
  3. }
  4. $this->stopwatch?->start('api_platform.processor.write');
  5. $data = $this->callableProcessor->process($data, $operation, $uriVariables, $context);
  6. $this->stopwatch?->stop('api_platform.processor.write');
  7. return $this->processor ? $this->processor->process($data, $operation, $uriVariables, $context) : $data;
  8. }
  9. }
  1. // Only validate at the processor level when ObjectMapper is used (canMap() is true).
  2. // Without ObjectMapper, ValidateProvider already handles validation in the provider chain,
  3. // so running it again here would cause duplicate external API calls and DB queries.
  4. if (!$operation->canMap()) {
  5. return $this->decorated ? $this->decorated->process($data, $operation, $uriVariables, $context) : $data;
  6. }
  7. $this->validator->validate($data, $operation->getValidationContext() ?? []);
  8. return $this->decorated ? $this->decorated->process($data, $operation, $uriVariables, $context) : $data;
  1. if (null === $operation->canSerialize()) {
  2. $operation = $operation->withSerialize(true);
  3. }
  4. return $this->processor->process($body, $operation, $uriVariables, $context);
  5. }
  6. }
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response, $controllerMetadata);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type, $controllerMetadata);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. $response->send(false);
  7. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
  8. fastcgi_finish_request();
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/www/marketplace-preprod.philibertnet.com/shared/vendor/autoload_runtime.php') in /home/www/marketplace-preprod.philibertnet.com/releases/261/public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__) . '/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5. $debug = $_GET['debugAntadis'] ?? $context['APP_DEBUG'];
  6. return new Kernel($context['APP_ENV'], $debug);
  7. };

Logs

Level Message
info 10:37:48 Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "4101f8"
    },
    "request_uri": "https://marketplace-preprod.philibertnet.com/_profiler/4101f8",
    "method": "GET"
}
debug 10:37:48 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\DebugHandlersListener::configure"
}
debug 10:37:48 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ValidateRequestListener::onKernelRequest"
}
debug 10:37:48 Notified event "kernel.request" to listener "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Nelmio\\CorsBundle\\EventListener\\CorsListener::onKernelRequest"
}
debug 10:37:48 Notified event "kernel.request" to listener "Symfony\Bridge\Doctrine\Middleware\IdleConnection\Listener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bridge\\Doctrine\\Middleware\\IdleConnection\\Listener::onKernelRequest"
}
debug 10:37:48 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\SessionListener::onKernelRequest"
}
debug 10:37:48 Notified event "kernel.request" to listener "App\EventSubscriber\UserLocaleSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "App\\EventSubscriber\\UserLocaleSubscriber::onKernelRequest"
}
debug 10:37:48 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::setDefaultLocale"
}
debug 10:37:48 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\RouterListener::onKernelRequest"
}
debug 10:37:48 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleListener::onKernelRequest"
}
debug 10:37:48 Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\LocaleAwareListener::onKernelRequest"
}
debug 10:37:48 Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::configureLogoutUrlGenerator"
}
debug 10:37:48 Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "Symfony\\Bundle\\SecurityBundle\\Debug\\TraceableFirewallListener::onKernelRequest"
}
debug 10:37:48 Notified event "kernel.request" to listener "App\EventSubscriber\FirstLoginSubscriber::forcePasswordChange".
{
    "event": "kernel.request",
    "listener": "App\\EventSubscriber\\FirstLoginSubscriber::forcePasswordChange"
}
debug 10:37:48 Notified event "kernel.request" to listener "App\EventSubscriber\FirstLoginSubscriber::forcePasswordChange".
{
    "event": "kernel.request",
    "listener": "App\\EventSubscriber\\FirstLoginSubscriber::forcePasswordChange"
}
debug 10:37:48 Notified event "kernel.request" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelRequest".
{
    "event": "kernel.request",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelRequest"
}
debug 10:37:48 Notified event "kernel.controller" to listener "EasyCorp\Bundle\EasyAdminBundle\EventListener\AdminRouterSubscriber::onKernelController".
{
    "event": "kernel.controller",
    "listener": "EasyCorp\\Bundle\\EasyAdminBundle\\EventListener\\AdminRouterSubscriber::onKernelController"
}
debug 10:37:48 Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RouterDataCollector::onKernelController"
}
debug 10:37:48 Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\DataCollector\\RequestDataCollector::onKernelController"
}
debug 10:37:48 Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\EventListener\ControllerAttributesListener::beforeController".
{
    "event": "kernel.controller",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ControllerAttributesListener::beforeController"
}
debug 10:37:48 Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ErrorListener::onControllerArguments"
}
debug 10:37:48 Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\EventListener\ControllerAttributesListener::beforeController".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\EventListener\\ControllerAttributesListener::beforeController"
}
debug 10:37:48 Notified event "kernel.controller_arguments" to listener "Symfony\Component\HttpKernel\Controller\ArgumentResolver\RequestPayloadValueResolver::onKernelControllerArguments".
{
    "event": "kernel.controller_arguments",
    "listener": "Symfony\\Component\\HttpKernel\\Controller\\ArgumentResolver\\RequestPayloadValueResolver::onKernelControllerArguments"
}

Stack Traces 3

[3/3] UniqueConstraintViolationException
Doctrine\DBAL\Exception\UniqueConstraintViolationException:
An exception occurred while executing a query: SQLSTATE[23505]: Unique violation: 7 ERROR:  duplicate key value violates unique constraint "uniq_f52993988af8e607"
DETAIL:  Key (external_reference)=(3679411_ANTAD) already exists.

  at /home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/API/PostgreSQL/ExceptionConverter.php:54
  at Doctrine\DBAL\Driver\API\PostgreSQL\ExceptionConverter->convert()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Connection.php:1453)
  at Doctrine\DBAL\Connection->handleDriverException()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Connection.php:1389)
  at Doctrine\DBAL\Connection->convertExceptionDuringQuery()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Statement.php:108)
  at Doctrine\DBAL\Statement->execute()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Statement.php:133)
  at Doctrine\DBAL\Statement->executeStatement()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:255)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->executeInserts()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/UnitOfWork.php:1144)
  at Doctrine\ORM\UnitOfWork->executeInserts()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/UnitOfWork.php:426)
  at Doctrine\ORM\UnitOfWork->commit()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/EntityManager.php:270)
  at Doctrine\ORM\EntityManager->flush()
     (src/Processor/OrderPostProcessor.php:114)
  at App\Processor\OrderPostProcessor->process()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/state/CallableProcessor.php:52)
  at ApiPlatform\State\CallableProcessor->process()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/state/Processor/WriteProcessor.php:58)
  at ApiPlatform\State\Processor\WriteProcessor->process()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/symfony/Validator/State/ValidateProcessor.php:51)
  at ApiPlatform\Symfony\Validator\State\ValidateProcessor->process()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/symfony/Controller/MainController.php:125)
  at ApiPlatform\Symfony\Controller\MainController->__invoke()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/HttpKernel.php:200)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/HttpKernel.php:80)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/Kernel.php:155)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/autoload_runtime.php:32)
  at require_once('/home/www/marketplace-preprod.philibertnet.com/shared/vendor/autoload_runtime.php')
     (/home/www/marketplace-preprod.philibertnet.com/releases/261/public/index.php:5)                
[2/3] Exception
Doctrine\DBAL\Driver\PDO\Exception:
SQLSTATE[23505]: Unique violation: 7 ERROR:  duplicate key value violates unique constraint "uniq_f52993988af8e607"
DETAIL:  Key (external_reference)=(3679411_ANTAD) already exists.

  at /home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:24
  at Doctrine\DBAL\Driver\PDO\Exception::new()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:57)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Logging/Statement.php:46)
  at Doctrine\DBAL\Logging\Statement->execute()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php:58)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Statement->execute()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Statement.php:104)
  at Doctrine\DBAL\Statement->execute()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Statement.php:133)
  at Doctrine\DBAL\Statement->executeStatement()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:255)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->executeInserts()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/UnitOfWork.php:1144)
  at Doctrine\ORM\UnitOfWork->executeInserts()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/UnitOfWork.php:426)
  at Doctrine\ORM\UnitOfWork->commit()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/EntityManager.php:270)
  at Doctrine\ORM\EntityManager->flush()
     (src/Processor/OrderPostProcessor.php:114)
  at App\Processor\OrderPostProcessor->process()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/state/CallableProcessor.php:52)
  at ApiPlatform\State\CallableProcessor->process()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/state/Processor/WriteProcessor.php:58)
  at ApiPlatform\State\Processor\WriteProcessor->process()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/symfony/Validator/State/ValidateProcessor.php:51)
  at ApiPlatform\Symfony\Validator\State\ValidateProcessor->process()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/symfony/Controller/MainController.php:125)
  at ApiPlatform\Symfony\Controller\MainController->__invoke()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/HttpKernel.php:200)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/HttpKernel.php:80)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/Kernel.php:155)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/autoload_runtime.php:32)
  at require_once('/home/www/marketplace-preprod.philibertnet.com/shared/vendor/autoload_runtime.php')
     (/home/www/marketplace-preprod.philibertnet.com/releases/261/public/index.php:5)                
[1/3] PDOException
PDOException:
SQLSTATE[23505]: Unique violation: 7 ERROR:  duplicate key value violates unique constraint "uniq_f52993988af8e607"
DETAIL:  Key (external_reference)=(3679411_ANTAD) already exists.

  at /home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:55
  at PDOStatement->execute()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:55)
  at Doctrine\DBAL\Driver\PDO\Statement->execute()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Logging/Statement.php:46)
  at Doctrine\DBAL\Logging\Statement->execute()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Driver/Middleware/AbstractStatementMiddleware.php:24)
  at Doctrine\DBAL\Driver\Middleware\AbstractStatementMiddleware->execute()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/doctrine-bridge/Middleware/Debug/Statement.php:58)
  at Symfony\Bridge\Doctrine\Middleware\Debug\Statement->execute()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Statement.php:104)
  at Doctrine\DBAL\Statement->execute()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/dbal/src/Statement.php:133)
  at Doctrine\DBAL\Statement->executeStatement()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/Persisters/Entity/BasicEntityPersister.php:255)
  at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->executeInserts()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/UnitOfWork.php:1144)
  at Doctrine\ORM\UnitOfWork->executeInserts()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/UnitOfWork.php:426)
  at Doctrine\ORM\UnitOfWork->commit()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/doctrine/orm/src/EntityManager.php:270)
  at Doctrine\ORM\EntityManager->flush()
     (src/Processor/OrderPostProcessor.php:114)
  at App\Processor\OrderPostProcessor->process()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/state/CallableProcessor.php:52)
  at ApiPlatform\State\CallableProcessor->process()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/state/Processor/WriteProcessor.php:58)
  at ApiPlatform\State\Processor\WriteProcessor->process()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/symfony/Validator/State/ValidateProcessor.php:51)
  at ApiPlatform\Symfony\Validator\State\ValidateProcessor->process()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/api-platform/symfony/Controller/MainController.php:125)
  at ApiPlatform\Symfony\Controller\MainController->__invoke()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/HttpKernel.php:200)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/HttpKernel.php:80)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/http-kernel/Kernel.php:155)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (/home/www/marketplace-preprod.philibertnet.com/shared/vendor/autoload_runtime.php:32)
  at require_once('/home/www/marketplace-preprod.philibertnet.com/shared/vendor/autoload_runtime.php')
     (/home/www/marketplace-preprod.philibertnet.com/releases/261/public/index.php:5)