You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to connect my bot created in a test environment. However, even though I input the correct bot token, I keep getting a 401 unauthorized error.
I saw the testEnvironment option in api docs.
However, when I try to input 'testEnvironment' in the options, it says that it's not a valid option. Has the 'testEnvironment' option been removed? How can I develop using a bot deployed in a test environment?
The text was updated successfully, but these errors were encountered:
Same issue. Just created account in test environment, created 2 bots with bot father bot and neither of them works. Both returning 401 Unauthorized on getMy endpoint. Tried to revoke tokens and use new ones - no luck so far. Any thoughts?
@vsolovev have you tried the workaround from my comment above?
Same issue. Just created account in test environment, created 2 bots with bot father bot and neither of them works. Both returning 401 Unauthorized on getMy endpoint. Tried to revoke tokens and use new ones - no luck so far. Any thoughts?
I have read:
I am using the latest version of the library.
I'm trying to connect my bot created in a test environment. However, even though I input the correct bot token, I keep getting a 401 unauthorized error.
this is my code:
and this is my package.json
I saw the testEnvironment option in api docs.
However, when I try to input 'testEnvironment' in the options, it says that it's not a valid option. Has the 'testEnvironment' option been removed? How can I develop using a bot deployed in a test environment?
The text was updated successfully, but these errors were encountered: