Bot working in Pressbot Studio, but not working on...
# 🤝help
b
This is the console and the error, but it says unknown, so not sure what's wrong. The bot used to work fine just a few hours ago.

https://cdn.discordapp.com/attachments/1131334700871471105/1131334701030834257/Screenshot_2023-07-19_at_23.12.04.png

r
@better-beard-13860 hey can you also screenshot the logs above this error? on which integration/channel does this happen? also, do you know which message is being sent? (like the type of message and content)
b
These are the logs above. It's the Messenger integration, a super basic bot that responds from the knowledge base or stays silent. What I do to test it, is I ask any question from the knowledge base and it works in studio, but somehow doesn't in Messenger. When I ask it a question, nothing happens.

https://cdn.discordapp.com/attachments/1131334700871471105/1131337435968700476/Screenshot_2023-07-19_at_23.27.52.png

r
Here's what I get in the logs. Looks like a misconfiguration of the messenger channel?
Copy code
{"errorType":"AxiosError","errorMessage":"Messenger API - 100 GraphMethodException Invalid appsecret_proof provided in the API argument","trace":["AxiosError: Messenger API - 100 GraphMethodException Invalid appsecret_proof provided in the API argument","    at handleError (/var/task/customer_code.js:56:27993)","    at p
b
So I have to update the appsecret?
r
yeah i'm not familiar with how fb messenger works but seems like that's your issue
we will do a better job at surfacing these errors in the future
b
Ok, thanks! That should be easy to fix for now. The appsecret is just a randomly generated code you copy and paste
FYI all working now. Thanks again!
r
awesome!!
3 Views