# How to fetch and pass CLOB data in machine steps or scripts?

**URL:** https://forum.novacura.com/t/how-to-fetch-and-pass-clob-data-in-machine-steps-or-scripts/1172
**Category:** Flow Classic
**Created:** [September 24, 2026, 5:02am UTC](https://forum.novacura.com/t/how-to-fetch-and-pass-clob-data-in-machine-steps-or-scripts/1172 "2026-09-24T05:02:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hasith.medaduwa](https://avatars.discourse-cdn.com/v4/letter/h/7C9FD7/32.png) [@hasith.medaduwa](https://forum.novacura.com/u/hasith.medaduwa)
#### Post date: [September 24, 2026, 5:02am UTC](https://forum.novacura.com/t/how-to-fetch-and-pass-clob-data-in-machine-steps-or-scripts/1172/1 "2026-09-24T05:02:07Z")

</div>

Hi,

Here I have an IFS API which returns CLOB data in an entity type output.  
I tried accessing this CLOB data from the return, but in the debug console this CLOB data value shows as a “Microsoft.Odata.Client.DataServiceStreamLink” and when I tried to fetch CLOB value as an output, flow throws error “Object not set to an instance of an object”.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/novacuratalk/original/2X/f/fcf6a19a129d5b8cbd8eb497589bbc92770f3add.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/novacuratalk/original/2X/2/229ba564948c7877d1bf30143c0d3173b3c68bb0.png)

I need to see any way in novacura to fetch these returning CLOB values and how to pass any CLOB value into an API.

Thanks.

---

<div class="post-metadata">

### Author: ![OlaCarlander](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.novacura.com/olacarlander/32/205_2.png) [@OlaCarlander](https://forum.novacura.com/u/OlaCarlander)
#### Post date: [September 25, 2026, 9:47am UTC](https://forum.novacura.com/t/how-to-fetch-and-pass-clob-data-in-machine-steps-or-scripts/1172/2 "2026-09-25T09:47:57Z")

</div>

Hey,

I haven’t been in the OData connector for Classic much, and it’s been a while. So I had to use AI to check some source code files to get an answer for you:

**"don’t map `Entity.ClobData` into a text output** —the screenshot shows an OData stream _link_, not its contents. Use the IFS stream’s read URL for a separate Classic REST **GET** , with a String output; to write it, send the text to its edit URL using the method and content type specified by that IFS endpoint. The read/edit URLs must come from the actual IFS response or metadata; `LobId` alone does not establish either URL. If the receiving API instead expects a JSON field, use an object/model so the text is JSON-escaped, rather than sending the stream link or manually adding quotes."
