Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Flowise , astra db configuration : TypeError: astra_db_ts_1.DataAPIClient is not a constructor #2957

Closed
marelix2 opened this issue Aug 7, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@marelix2
Copy link

marelix2 commented Aug 7, 2024

Describe the bug

once im trying to upsert data do astra db via flowise im getting error

2024-08-07 09:24:25 [ERROR]: TypeError: astra_db_ts_1.DataAPIClient is not a constructor
Error: TypeError: astra_db_ts_1.DataAPIClient is not a constructor
    at Astra_VectorStores.upsert (/xxx/ai-repo/apps/Flowise/packages/components/dist/nodes/vectorstores/Astra/Astra.js:51:27)
    at async buildFlow (/xxx/ai-repo/apps/Flowise/packages/server/dist/utils/index.js:408:37)
    at async upsertVector (/xxx/ai-repo/apps/Flowise/packages/server/dist/utils/upsertVector.js:115:32)
    at async Object.upsertVectorMiddleware (/xxx/ai-repo/apps/Flowise/packages/server/dist/services/vectors/index.js:9:16)
    at async createInternalUpsert (/xxx/ai-repo/apps/Flowise/packages/server/dist/controllers/vectors/index.js:28:29)

To Reproduce

Steps to reproduce the behavior:

  1. follow instructions provided in documentation -> AstraDB
  2. try to upsert data
  3. See error

Expected behavior
i guess it should upsert data :D

Screenshots
Screenshot 2024-08-07 at 09 32 53

Flow
Astra database loader Chatflow.json

Setup

  • Installation: pnpm start
  • Flowise Version: 2.0.1
  • OS: macOS
  • Browser: chrome
@HenryHengZJ HenryHengZJ added the bug Something isn't working label Aug 9, 2024
@conornormile
Copy link

I'm getting the same bug. Was working fine but now returning this message when a user submits a query.

@HenryHengZJ
Copy link
Contributor

Updated and fixed: #3381

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants