Hi everyone! I am trying to extend the metadata en...
# ingestion
a
Hi everyone! I am trying to extend the metadata entity model with forking the repository following this guide: https://datahubproject.io/docs/metadata-modeling/extending-the-metadata-model/ (For testing I wanted to create a GlossaryTerm like entity (called DatasetMetadata) with the same fields and aspects, only the Key and the Info aspect was recreated as a separate file with the same body) I have done the following steps: 1. Created the Key aspect pdl based on GlossaryTerm 2. Created the new Info pdl based on GlossaryTerm 3. Created the entity in the registry yml 4. Ran: ./gradlew build 5. Redeployed gms service docker image I tried to call the openApi endpoint to create a dataseMetadata object with Postman (it is working with glossaryterm aspects) but it fails with 400 error code. The docker image throws a detailed error. How should I resolve this issue? Is there any step I am missing in order to achieve my goal? Thank you very much for helping!
h
Hi @agreeable-army-26750, looks like there are typos in your postman request. Your aspects are defined with
dataset
prefix but I see
datahub
in the request. Could you try fixing them to match how your custom aspects are defined?
a
Ohh god thanks @helpful-optician-78938! It was my mistake 100%! Thanks for pointing out the error 😄