did you find a solution? I just got the same error. If I use a text in the prompt, if works correctly but when I use a file, it fails.
However, when testing the prompt, it uses correctly the file provided as sample data.
Thanks.
Begoña.