Validation errors pop up in the Dathahub’s UI foll...
# troubleshoot
i
Validation errors pop up in the Dathahub’s UI following update to
v0.8.41
tl;dr After upgrading datahub to the latest version, pop-up messages appears in every page and assets pages (Datasets, Pipelines, …) are not served at all. Main page presents 3 identical pop-up error boxes:
Copy code
Validation error of type InvalidFragmentType: Fragment entityDomain cannot be spread here as objects of type DomainAssociation can never be of type Domain @ 'entityPreview/domain' (code undefined)
Clicking on Datasets only one of those boxes pops up, but the page is not serving any content at all (not even the base of the the SPA) beside a red box:
Copy code
Validation error of type InvalidFragmentType: Fragment entityDomain cannot be spread here as objects of type DomainAssociation can never be of type Domain @ 'browse/entities/domain' Validation error of type InvalidFragmentType: Fragment entityDomain cannot be spread here as objects of type DomainAssociation can never be of type Domain @ 'browse/entities/domain' Validation error of type InvalidFragmentType: Fragment entityDomain cannot be spread here as objects of type DomainAssociation can never be of type Domain @ 'browse/entities/domain' Validation error of type InvalidFragmentType: Fragment entityDomain cannot be spread here as objects of type DomainAssociation can never be of type Domain @ 'browse/entities/domain'
Clicking on my profile page (right-upper corner in the main page) seems to be presenting the page properly. but 3 pop-up boxes appear (2 are identical to the one in the main page):
Copy code
Failed to complete search: Validation error of type InvalidFragmentType: Fragment entityDomain cannot be spread here as objects of type DomainAssociation can never be of type Domain @ 'searchResultFields/domain' Validation error of type InvalidFragmentType: Fragment entityDomain cannot be spread here as objects of type DomainAssociation can never be of type Domain @ 'searchResultFields/domain' Validation error of type InvalidFragmentType: Fragment entityDomain cannot be spread here as objects of type DomainAssociation can never be of type Domain @ 'searchResultFields/domain' Validation error of type InvalidFragmentType: Fragment entityDomain cannot be spread here as objects of type DomainAssociation can never be of type Domain @ 'searchResultFields/domain' Validation error of type InvalidFragmentType: Fragment entityDomain cannot be spread here as objects of type DomainAssociation can never be of type Domain @ 'searchResultFields/domain' Validation error of type InvalidFragmentType: Fragment entityDomain cannot be spread here as objects of type DomainAssociation can never be of type Domain @ 'nonRecursiveDataFlowFields/domain' Validation error of type InvalidFragmentType: Fragment entityDomain cannot be spread here as objects of type DomainAssociation can never be of type Domain @ 'nonRecursiveMLFeature/domain' Validation error of type InvalidFragmentType: Fragment entityDomain cannot be spread here as objects of type DomainAssociation can never be of type Domain @ 'nonRecursiveMLPrimaryKey/domain'
Failed to complete search: Validation error of type InvalidFragmentType: Fragment entityDomain cannot be spread here as objects of type DomainAssociation can never be of type Domain @ 'searchResultFields/domain' Validation error of type InvalidFragmentType: Fragment entityDomain cannot be spread here as objects of type DomainAssociation can never be of type Domain @ 'searchResultFields/domain' Validation error of type InvalidFragmentType: Fragment entityDomain cannot be spread here as objects of type DomainAssociation can never be of type Domain @ 'searchResultFields/domain' Validation error of type InvalidFragmentType: Fragment entityDomain cannot be spread here as objects of type DomainAssociation can never be of type Domain @ 'searchResultFields/domain' Validation error of type InvalidFragmentType: Fragment entityDomain cannot be spread here as objects of type DomainAssociation can never be of type Domain @ 'searchResultFields/domain' Validation error of type InvalidFragmentType: Fragment entityDomain cannot be spread here as objects of type DomainAssociation can never be of type Domain @ 'nonRecursiveDataFlowFields/domain' Validation error of type InvalidFragmentType: Fragment entityDomain cannot be spread here as objects of type DomainAssociation can never be of type Domain @ 'nonRecursiveMLFeature/domain' Validation error of type InvalidFragmentType: Fragment entityDomain cannot be spread here as objects of type DomainAssociation can never be of type Domain @ 'nonRecursiveMLPrimaryKey/domain'
I understand that the root of the problems origins in the GraphQL fetching of the data for the UI, but I don’t see how to handle it. Do you have any tips on: • how can these be troubleshooted? • where in the code base or way we ingest data the problem might lie? Any insight is much appreciated datahubbbb
m
This error typically resolves as soon as the entire stack is upgraded
i
what do you mean by entire stack more precisely?
m
this is usually a transient error while your frontend and backend are out of sync
i
I tried nuking and repopulating the database
m
frontend = datahub-frontend-react and backend = datahub-gms containers
i
ok, checking that out. Thanks for the heads-up 👍
b
Yes usually it occurs when image tags differ!