Instead of retrieving my text I get ""

Ok, so relatively new user here. I hope someone will be able to clear this up for me.

I've included a *txt file as media in my project. I'm trying to read this file using the File / ReadFrom function. I've understood that I need to prefix the filename with // in order to retrieve it from the assets. But. Instead of the file I've included, I get the following text "", when running the app using AI Companion, android 10.

I can't figure out what I'm doing wrong. Please help.

Most probably you get the file component component_component_block instead of the text.

You should drag the variable from the GotText event:

1 Like

That's the ID of the file component, I think your using File1 block?

This is what I've just said.

1 Like

Ah, brilliant! Thanks for helping out! :slight_smile:

1 Like

You're welcome. If any of the post solves your problem, please mark as solution.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.