[BUG] - CSV Loader usable issue in Document Store
Describe the bug A clear and concise description of what the bug is.
Process issue using the CSV loader in Document Store. Below is the error
To Reproduce Steps to reproduce the behavior:
- Go to '...' Document Store, Add a new Document Loader - CSV Loader with Recursive Character Text Splitter
- Click on '....' Process
- See error
[ERROR]: unhandledRejection: Invalid URL
TypeError: Invalid URL
at new URL (node:internal/url:797:36)
at parseUrl (/usr/local/lib/node_modules/flowise/node_modules/@aws-sdk/client-s3/node_modules/@smithy/url-parser/dist-cjs/index.js:29:21)
at toEndpointV1 (/usr/local/lib/node_modules/flowise/node_modules/@aws-sdk/client-s3/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js:119:41)
at customEndpointProvider (/usr/local/lib/node_modules/flowise/node_modules/@aws-sdk/client-s3/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js:239:65)
Expected behavior A clear and concise description of what you expected to happen.
Process the document
Screenshots If applicable, add screenshots to help explain your problem.
Setup
- Installation [e.g. docker,
npx flowise start,pnpm start] Docker Installation - Flowise Version [e.g. 1.2.11] v2.0.7
- OS: [e.g. macOS, Windows, Linux] Linux
- Browser [e.g. chrome, safari] Chrome
works for me:
Thanks, Henry. That's very strange. I have precisely the same flow. The logs indicate the below error, is there any reason why it's trying to access aws-sdk or this is normal..?
-Naran
at new URL (node:internal/url:797:36)
at parseUrl (/usr/local/lib/node_modules/flowise/node_modules/@aws-sdk/client-s3/node_modules/@smithy/url-parser/dist-cjs/index.js:29:21)
at toEndpointV1 (/usr/local/lib/node_modules/flowise/node_modules/@aws-sdk/client-s3/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js:119:41)
at customEndpointProvider (/usr/local/lib/node_modules/flowise/node_modules/@aws-sdk/client-s3/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js:239:65)
I'm not sure, but does it happen only on one CSV? Can you try other CSV as well?
Hi Henry,
I am getting the same error for any CSV and even for the PDF documents..
TypeError: Invalid URL at new URL (node:internal/url:797:36) at parseUrl @.@./url-parser/dist-cjs/index.js:29:21) at toEndpointV1 @.@./middleware-endpoint/dist-cjs/index.js:119:41) at customEndpointProvider @.@./middleware-endpoint/dist-cjs/index.js:239:65)
Thanks, Naran From: Henry Heng @.> Date: Tuesday, 17 September 2024 at 4:28 AM To: FlowiseAI/Flowise @.> Cc: Naran M @.>, Author @.> Subject: Re: [FlowiseAI/Flowise] [BUG] - CSV Loader usable issue in Document Store (Issue #3159)
I'm not sure, but does it happen only on one CSV? Can you try other CSV as well?
— Reply to this email directly, view it on GitHubhttps://github.com/FlowiseAI/Flowise/issues/3159#issuecomment-2353616795, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABZ6YB3SU6KP5DP2O4YSV4DZW4PNBAVCNFSM6AAAAABNYWGNNCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJTGYYTMNZZGU. You are receiving this because you authored the thread.Message ID: @.***>
This issue is resolved, I was using the S3 for blob storage and pointing to wrong endpoint Thanks, Naran