Skip to content

404 Not Found Error when Deleting CustomObject from UnresolvedReferencesService #619

@andihalberkamp

Description

@andihalberkamp

hi,

We are encountering a "404 Not Found error" during our product sync process . The sync tool attempts to delete a CustomObject from the UnresolvedReferencesService, but receives the following response:

i.v.r.b.c.e.NotFoundException: detailMessage: Client error response [url] https://api.europe-west1.gcp.commercetools.com/carhartt-preproduction/custom-objects/commercetools-sync-java.UnresolvedReferencesService.productDrafts/09b14c3bf3a8f5b7bf692dc5daa8e12bfca2fb14 [status code] 404 [reason phrase] Not Found
summary: DELETE https://api.europe-west1.gcp.commercetools.com/carhartt-preproduction/custom-objects/commercetools-sync-java.UnresolvedReferencesService.productDrafts/09b14c3bf3a8f5b7bf692dc5daa8e12bfca2fb14 failed  with response code 404 with X-Correlation-ID `carhartt-preproduction/e7d144d6-ae95-4757-8349-2b132971523b`
Timestamp: 2025-03-30T06:48:36.357647Z

Response body:
{
  "statusCode": 404,
  "message": "The CustomObject with ID '(commercetools-sync-java.UnresolvedReferencesService.productDrafts,09b14c3bf3a8f5b7bf692dc5daa8e12bfca2fb14)' was not found.",
  "errors": [
    {
      "code": "ResourceNotFound",
      "message": "The CustomObject with ID '(commercetools-sync-java.UnresolvedReferencesService.productDrafts,09b14c3bf3a8f5b7bf692dc5daa8e12bfca2fb14)' was not found."
    }
  ]
}

When running the project-synnc, we get many of these errormessages, so it spams our Log.
Can you give us an advice, how we can get rid of these errors?

Best
Andi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions