Cannot determine next state - tExtractJsonFields

Highlighted
Four Stars

Cannot determine next state - tExtractJsonFields

I have created a simple tBigData that connects to Mongo, Reads a Collection, extracts the JSON and logs the data.

 

I am attempting to iterate through each document and I am hitting my reject path for each row rather than my Main with the error "Cannot determine next state "

Capture.PNG

 

tExtractJsonFields is configured like so, it's unclear where the error is.

 

 

Capture.PNG

 

 

Moderator

Re: Cannot determine next state - tExtractJsonFields

Hello,

It looks like loops and Xpath query errors.

Sometimes depending on the structure of the file that is you are using the built in option with Xpath that sometimes you may run into the "Cannot Determine Next State" error message when the job is done running.

Could you please use the JSON path and add a JSON sample file to the metadata of the Talend Studio and use the mapper to complete the structure through the graphical interface and then simple drag the structure from the Metadata JSON file area on the left hand panel to the design palette to see if it works?

Best regards

Sabrina

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Put Massive Amounts of Data to Work

Learn how to make your data more available, reduce costs and cut your build time

Watch Now

How OTTO Utilizes Big Data to Deliver Personalized Experiences

Read about OTTO's experiences with Big Data and Personalized Experiences

Blog

Talend Integration with Databricks

Take a look at this video about Talend Integration with Databricks

Watch Now