When you run tasks locally or in the cloud, you may have data extracted to the wrong "columns" or not being extracted at all. This is likely due to incorrect XPath failing to locate the correct data and extract it.
Here’s an example of data fetched to the incorrect data fields.
This is the data we need -
And this is the data output. Notice all the highlighted data are not being extracted correctly.
How to fix it?
To ensure that data will always be extracted correctly to the corresponding data fields, you need to write a new XPath that will always pinpoint the right data on all pages. To do this, refer to our step-by-step tutorial on how to locate the element with XPath. Alternatively, if you are extracting name-value pairs, check out how to associate data with nearby text.
Step 1. Select the data field that needs to be fixed, click the icon for "Customize XPath"
Step 2. Change the XPath to the new one and click OK to save
For some cases, we might find that data can be extracted in the preview but not so after we run the task, then we can try: