How to troubleshoot UDF error in Stream Analytics?

Mikael Falkvidd 1 Reputation point
2020-11-11T14:01:23.453+00:00

My Stream Analytics jobs has multiple errors like this:

{ "Environment": "Prod", "Region": "North Europe", "time": "2020-10-03T00:04:22.9834272Z", "resourceId": "/SUBSCRIPTIONS/5B..08/RESOURCEGROUPS/O...A/PROVIDERS/MICROSOFT.STREAMANALYTICS/STREAMINGJOBS/SIGFOXTOSQL", "operationName": "Process Events", "category": "Execution", "status": "Failed", "level": "Error", "properties": "{\"ErrorCode\":null,\"Message\":\"Encountered error while executing user code in class: s...1. Error: item: 1304459103 hex: 4dc0775f\",\"Source\":{\"Name\":null,\"Type\":null},\"Type\":127,\"Data\":\"item: 1304459103 hex: 4dc0775f\"}"}
{ "Environment": "Prod", "Region": "North Europe", "time": "2020-10-03T00:17:07.5690012Z", "resourceId": "/SUBSCRIPTIONS/5B..08/RESOURCEGROUPS/O...A/PROVIDERS/MICROSOFT.STREAMANALYTICS/STREAMINGJOBS/SIGFOXTOSQL", "operationName": "Process Events", "category": "Execution", "status": "Failed", "level": "Error", "properties": "{\"ErrorCode\":null,\"Message\":\"Encountered error while executing user code in class: s...1. Error: item: -20744353 hex: fec3775f\",\"Source\":{\"Name\":null,\"Type\":null},\"Type\":127,\"Data\":\"item: -20744353 hex: fec3775f\"}"}
{ "Environment": "Prod", "Region": "North Europe", "time": "2020-10-03T00:43:48.0049244Z", "resourceId": "/SUBSCRIPTIONS/5B..08/RESOURCEGROUPS/O...A/PROVIDERS/MICROSOFT.STREAMANALYTICS/STREAMINGJOBS/SIGFOXTOSQL", "operationName": "Process Events", "category": "Execution", "status": "Failed", "level": "Error", "properties": "{\"ErrorCode\":null,\"Message\":\"Encountered error while executing user code in class: s...1. Error: item: -1412860065 hex: abc9775f\",\"Source\":{\"Name\":null,\"Type\":null},\"Type\":127,\"Data\":\"item: -1412860065 hex: abc9775f\"}"}

Is there a way to find out which line of my UDF caused the error?
Is there a way to find which message caused the error? The error message does not contain a correlation ID unfortunately.

Azure Stream Analytics
Azure Stream Analytics
An Azure real-time analytics service designed for mission-critical workloads.
354 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.