Can we debug the "InputDeserializerError.InvalidData" input JSON

Harish Kumar 66 Reputation points Microsoft Employee
2023-08-07T07:02:29.9+00:00

Hi Team,

We already have a document for the error "InputDeserializerError.InvalidData":

https://video2.skills-academy.com/en-us/azure/stream-analytics/data-errors#inputdeserializererrorinvaliddata

Also we have Q&A document for the same:

https://video2.skills-academy.com/en-us/answers/questions/404742/streamanalytics-inputdeserializererror-invaliddata

But still, we don't know which part of the JSON causing the issue, can we have some debugging steps to find the bad data in the JSON file?

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

1 answer

Sort by: Most helpful
  1. Bhargava-MSFT 31,011 Reputation points Microsoft Employee
    2023-08-07T20:38:28.1433333+00:00

    Hello Harish Kumar,

    To debug this, please enable diagnostic logs in your job to get bad data in the JSON file that is causing the InputDeserializerError.InvalidData error.

    Please see the below document to set up the diagnostics logs.

    https://video2.skills-academy.com/en-us/azure/stream-analytics/stream-analytics-job-diagnostic-logs

    I hope this helps. Please let me know if you have any further questions.

    0 comments No comments

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.