# Error in Text File Output

**URL:** <https://community.automationedge.com/t/error-in-text-file-output/6135>\
**Category:** Get Help & Discuss\
**Tags:** rpa, learning\
**Created:** [July 25, 2022, 6:22am UTC](https://community.automationedge.com/t/error-in-text-file-output/6135 "2022-07-25T06:22:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![namrata.bhovipdbtec](https://avatars.discourse-cdn.com/v4/letter/n/ecc23a/32.png) [@namrata.bhovipdbtec](https://community.automationedge.com/u/namrata.bhovipdbtec)\
**Post date:** [July 25, 2022, 6:22am UTC](https://community.automationedge.com/t/error-in-text-file-output/6135/1 "2022-07-25T06:22:10Z")

</div>

Unable to get fields from previous steps because of an error  
Index: -1, Size: 4 can anyone help me out of this

---

<div class="post-metadata">

**Author:** ![wllmdjngh](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.automationedge.com/wllmdjngh/32/952_2.png) [@wllmdjngh](https://community.automationedge.com/u/wllmdjngh)\
**Post date:** [July 25, 2022, 2:08pm UTC](https://community.automationedge.com/t/error-in-text-file-output/6135/2 "2022-07-25T14:08:13Z")

</div>

Hi Namrata.  
The data of the fields shown in the debug section, is the data that is released from the step that did pass. With that, you know what data got to be processed by the next step.  
The step with error can not retrieve information regarding field values. You have to fix the error in question to the check outgoing values of the step in now in error.  
A tip: if you right click on the step and select “input fields”, you can check which step was the latest that created/modified each incoming field.  
Hope this helps.
