https://discord.gg/botpress logo
webchat unauthorized error
# 🤝help
f
I'm having a very curious new error I never encountered before. Currently, the webchat preview on app.botpress.cloud is not working for one of my bots. I've added a screenshot with the details of the error. I've looked around a bit and can't really find anywhere to put an admin key, not that I would know where to find mine right now anyway. Is this a bug? What is happening here and how can I restore functionality? https://cdn.discordapp.com/attachments/1404739434024538234/1404739434263347211/webchat_unauthorized_error.jpg?ex=689c490b&is=689af78b&hm=1109d420900d8298f9315118e3df7a880fb24a30782d274ebf172f3ef0bbb18e&
for more info, the issue is present on several different computers, so I don't the the cache is the issue. Also, the emulator feature inside the studio works just fine.
Anyone have an idea what is happening here? The bot is currently unusable and we need it for our business. During the office hour with Leanna yesterday I went through the steps of logging out and back in, copy the bot to another one (which threw a 400 error), and exporting it and importing it into a new bot (which works but doesn't fix the issue). The emulator in the studio works perfectly fine, as do the other bots in this workspace. The webchat anywhere but the emulator is broken, which also breaks it in our app. Testing it with the shareable link doesn't work either. It seems to be an issue with this particular bot and I'd rather not recreate it from scratch.
@orange-egg-72655 do you have an idea what's happening here by any chance?
a
Hey @fierce-bear-17255 How did you configure your Webchat ? Did you try to use the API directly or did you use the Dashboard UI only
Can you send me your bot id ? I'd like to check some stuff
f
Hey @able-queen-43470 Thanks for getting back to me on this. The webchat has standard configuration, far as I can tell. I have tried using the API directly for use on our app, but the issue I'm describing here is primarily originating in the Dashboard UI. I have now also managed to circumvent this problem. Creating a new bot and importing an export of this bot, created in a different workspace worked. If you'd still like to take a look at what happened, I'll send you the sharable link via DM
2 Views