Skip to Content
author's profile photo Former Member
Former Member

How to check the external errors in datahub?

alt textHi All,

I have pushed a record from datahub backoffice using quick upload and i have found few external errors in the backoffice screen and i dont find any error in the datahub log or hybris log.Could someone help me how to trace the errors?

Note: The record has been inserted into database successfully.

NSERT_UPDATE CategoryProductRelation;;target(code,catalogVersion(catalog(id),version))[unique=true];source(code,catalogVersion(catalog(id),version))[unique=true] ;1;testing1231:ProductCatalog:Staged;ACSA2373B1404A5286:ProductCatalog:Staged ########################## ########################## #############################

Impex has been created in the following way.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jun 03, 2019 at 07:10 PM

    You can see them in the backoffice.

    While you're switched to the DataHub perspective already. Choose Errors & Failures -> Publication menu on the left. The errors you see are the external errors.

    Add a comment
    10|10000 characters needed characters exceeded

    • I can't answer your question without understanding how exactly that modeling is done. Normally deleteFlag on RawItem is never exposed as attribute. It gets converted to CompositionStatusType.DELETED value of the CanonicalItem.getStatus() value. So, DELETED CanonicalItems are transformed into DELETE impex blocks during publications, instead of INSERT_UPDATE for normal CompositionStatusType.SUCCESS status.

      You tried to model something an from that fragment you included it's not clear what exactly it's modeled and what's the purpose of it. If that attribute is mapped to an attribute that does not exist in the platform, you will get external error. If that attribute exists in the platform type, then external error is possible, if that attribute has invalid value.

      If you simply don't want to publish deleted items, It's easier to do by creating a PublicationGroupingHandler that excludes all CanonicalItems with CompositionStatusType.DELETED status.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.