Closed ngocbae98 closed 3 days ago
Did u reopen the terminal after filling the .env?
sure in the .evn file Windows Terminal
If you're encountering the error ValueError: REF_ID environment variable is not set
, double-check the following:
Ensure you've added the value for REF_ID
in your file and saved it properly. Sometimes, the file may not save correctly in your code editor.
After making changes, restart your terminal to ensure the environment variables are loaded.
Confirm there are no typos or formatting issues in the file.
.env file
Still not working,
Can you show me the error?
Also, provide the .env
file data.
closing the issue as no activity.
ValueError: REF_ID environment variable is not set
API_ID=26547345 API_HASH=5ddcb0d5a3c90b2f4345c9e08d5db55a REF_ID=ref_ddtyJsrH SESSION_NAME=bums PHONE=+91 SLEEP_DELAY_MINUTES=30