Hi all, Been getting ```Failed to update Deprecati...
# troubleshoot
d
Hi all, Been getting
Copy code
Failed to update Deprecation: Failed to update resource with urn urn:li:dataset (urn:li:dataPlatform:googlesheet,lorem ipsum,PROD). Entity does not exist.
while deprecating a dataset. FYI, I've deprecated this dataset once the other day, but for some reason it still exists in the latest lineage, so I tried to deprecate it but to no avail.
1
a
Hi @dazzling-shampoo-79134, could you explain a little more about your setup, this seems like an issue we’ve been seeing pop up lately but I’d like to confirm. Where did you create the
googlesheet
entity from?
d
Hi @astonishing-answer-96712, the
googlesheet
entity comes from the lineage emitter job, through a MetadataChangeProposalWrapper class, referenced below
Copy code
## here the googlesheet entity is created as the aspect of the datajob
MetadataChangeProposalWrapper(
            entityType="dataJob",
            changeType=ChangeTypeClass.UPSERT,
            entityUrn=datajob_urn,
            aspectName="dataJobInputOutput",
            aspect=datajob_input_output 
)
a
Hi, @dazzling-shampoo-79134, I think this is an example of an issue we’ve been seeing pop up- we’re working on a fix right now. If the dataset doesn’t exist then we can’t deprecate it- it’s referenced but doesn’t exist