-
I've followed all the steps but I'm getting this error after I try to run the forwarder.py: Traceback (most recent call last):
File "forwarder.py", line 10, in <module>
from settings import API_ID, API_HASH, forwards, get_forward, update_offset, STRING_SESSION
File "/telegram-chat-forward/settings.py", line 12, in <module>
assert API_ID and API_HASH
AssertionError |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
You have not set your Put real values above. And make sure the spellings. It is case sensitive. |
Beta Was this translation helpful? Give feedback.
-
Traceback (most recent call last):
File "forwarder.py", line 10, in <module>
from settings import API_ID, API_HASH, REPLACEMENTS, forwards, get_forward, update_offset, STRING_SESSION
File "/home/lbarros64/telegram-chat-forward/settings.py", line 12, in <module>
assert API_ID and API_HASH
AssertionError I've followed all the steps. I created from a notepad and just rename to: .env and config.ini. Is this wrong? |
Beta Was this translation helpful? Give feedback.
-
Hello, Exact same problem here. I have created a .env file with my API_ID and API_HASH. Copied and pasted to make sure there are no typos. What could it be ? |
Beta Was this translation helpful? Give feedback.
You have not set your
api_id
andapi_hash
in your.env
file.Put real values above.
And make sure the spellings. It is case sensitive.