Hello team. I am trying to ingest a dataJob throug...
# ingestion
c
Hello team. I am trying to ingest a dataJob through GMS API, but getting validation error, complaining about dataJobInfo.type. I tried setting that field to values like "SQL" or "HIVE" as indicated by sample datajob data in below link, but still failing:
Copy code
<https://github.com/linkedin/datahub/blob/0b75b4a96a801a91fe434c87f6c737d24d63eb14/metadata-ingestion/examples/mce_files/bootstrap_mce.json#L996>
Validation errors from GMS API:
Copy code
[HTTP Status:400]: Parameters of method 'ingest' failed validation with error 'ERROR :: /snapshot/aspects/1/com.linkedin.datajob.DataJobInfo/type :: union type is not backed by a DataMap or null\n'\at com.linkedin.restli.server.RestLiServiceException.fromThrowable(RestLiServiceException.java:315)\n\tat com.linkedin.restli.server.BaseRestLiServer.buildPreRoutingError(BaseRestLiServer.java:158)\n\tat com.linkedin.restli.server.BaseRestLiServer.handleResourceRequest(BaseRestLiServer.java:198)
b
Hi.. Taking a look