Skip to content

[Bug]: LibreChat: TypeError [ERR_INVALID_ARG_TYPE] #651

Closed Answered by danny-avila
cyclecycle asked this question in Troubleshooting
Discussion options

You must be logged in to vote

This is actually expected, but I should add a more meaningful error message.

Is this set in your .env file?

# For securely storing credentials, you need a fixed key and IV. You can set them here for prod and dev environments
# If you don't set them, the app will crash on startup.
# You need a 32-byte key (64 characters in hex) and 16-byte IV (32 characters in hex)
# Use this replit to generate some quickly: https://replit.com/@daavila/crypto#index.js
# Here are some examples (THESE ARE NOT SECURE!)
CREDS_KEY=f34be427ebb29de8d88c107a71546019685ed8b241d8f2ed00c3df97ad2566f0
CREDS_IV=e2341419ec3dd3d19b13a1a87fafcbfb

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by cyclecycle
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
2 participants
Converted from issue

This discussion was converted from issue #650 on July 15, 2023 12:17.