wide-dawn-46249
05/09/2022, 5:19 PMwide-dawn-46249
05/09/2022, 5:19 PM{
"error": "MCP request failed because\n> Request to <http://localhost:8080/aspects?action=ingestProposal> failed! with status code: 500. because\n> unexpected response code=500, resp[:2000]= {\"exceptionClass\":\"com.linkedin.restli.server.RestLiServiceException\",\"stackTrace\":\"com.linkedin.restli.server.RestLiServiceException [HTTP Status:500]: Unknown dereferenced type STRING for DataMap's schema \\\"string\\\"\\n\\tat com.linkedin.restli.server.RestLiServiceException.fromThrowable(RestLiServiceException.java:321)\\n\\tat com.linkedin.restli.server.BaseRestLiServer.buildPreRoutingError(BaseRestLiServer.java:202)\\n\\tat com.linkedin.restli.server.BaseRestLiServer.handleResourceRequest(BaseRestLiServer.java:242)\\n\\tat com.linkedin.restli.server.RestRestLiServer.handleResourceRequestWithRestLiResponse(RestRestLiServer.java:294)\\n\\tat com.linkedin.restli.server.RestRestLiServer.handleResourceRequest(RestRestLiServer.java:262)\\n\\tat com.linkedin.restli.server.RestRestLiServer.handleResourceRequest(RestRestLiServer.java:232)\\n\\tat com.linkedin.restli.server.RestRestLiServer.doHandleRequest(RestRestLiServer.java:215)\\n\\tat com.linkedin.restli.server.RestRestLiServer.handleRequest(RestRestLiServer.java:171)\\n\\tat com.linkedin.restli.server.RestLiServer.handleRequest(RestLiServer.java:130)\\n\\tat com.linkedin.restli.server.DelegatingTransportDispatcher.handleRestRequest(DelegatingTransportDispatcher.java:70)\\n\\tat com.linkedin.r2.filter.transport.DispatcherRequestFilter.onRestRequest(DispatcherRequestFilter.java:70)\\n\\tat com.linkedin.r2.filter.TimedRestFilter.onRestRequest(TimedRestFilter.java:76)\\n\\tat com.linkedin.r2.filter.FilterChainIterator$FilterChainRestIterator.doOnRequest(FilterChainIterator.java:146)\\n\\tat com.linkedin.r2.filter.FilterChainIterator$FilterChainRestIterator.doOnRequest(FilterChainIterator.java:132)\\n\\tat com.linkedin.r2.filter.FilterChainIterator.onRequest(FilterChainIterator.java:62)\\n\\tat com.linkedin.r2.filter.TimedNextFilter.onRequest(TimedNextFilter.java:55)\\n\\tat com.linkedin.r2.filter.transport.ServerQueryTunnelFilter.onRestRequest(ServerQueryTunnelFilter.java:58)\\n\\tat com.linkedin.r2.filter.TimedRestFilter.onRestRequest(TimedRestFilter.jav, request: <http://localhost:8080/aspects?action=ingestProposal>"
}wide-dawn-46249
05/09/2022, 5:20 PM{
"proposal": {
"aspect": {
"com.linkedin.pegasus2avro.mxe.GenericAspect": {
"contentType": "application/json",
"value": "{\"customProperties\":null,\"description\":null,\"externalUrl\":null,\"name\":\"test_dag\",\"project\":null}"
}
},
"aspectName": {
"string": "dataFlowInfo"
},
"auditHeader": null,
"changeType": "UPSERT",
"entityKeyAspect": null,
"entityType": "dataFlow",
"entityUrn": {
"string": "urn:li:dataFlow:(airflow,test_dag,prod)"
},
"systemMetadata": null
}
}orange-night-91387
05/09/2022, 6:16 PM"aspectName": {
"string": "dataFlowInfo"
},
What are you using to generate the MCP? This looks wrong. aspectName is not a map type, it's a string.orange-night-91387
05/09/2022, 6:16 PMwide-dawn-46249
05/09/2022, 6:20 PMorange-night-91387
05/09/2022, 6:28 PMwide-dawn-46249
05/09/2022, 6:31 PMorange-night-91387
05/09/2022, 6:32 PMbest-eve-12546
02/26/2023, 5:04 PMwide-dawn-46249
02/27/2023, 6:29 AMbest-eve-12546
02/27/2023, 3:06 PMwide-dawn-46249
02/27/2023, 5:35 PMbest-eve-12546
02/27/2023, 5:36 PM