Chat Problem
# 🤝help
b
I need help in my Chatbot is every second question this "Sorry, an error occurred. Please try again later" what can i do ?
c
Please share a screenshot of your workflow + logs.
b
That is nothing crazy but i saw that on Youtube and it schould work like a coversation but on evry secon message it come the error message

https://cdn.discordapp.com/attachments/1135927050297938080/1135970257761214464/Screenshot_2023-08-01_18.13.39.png

https://cdn.discordapp.com/attachments/1135927050297938080/1135970258000298067/Screenshot_2023-08-01_18.16.50.png

f
Can you share with me the error from the logs? also can you share with me the code you are using after removing the sensitive information?
b
i hope that is what you mean

https://cdn.discordapp.com/attachments/1135927050297938080/1135972696325374003/Screenshot_2023-08-01_18.28.38.png

f
Yes that is very good
Now, I need the code itself, the code written in your execute code card
b
wait
f
The error says that your token is invalid. I want to take a look on the code, maybe I can help 🙂
b
i hope you cann help

https://cdn.discordapp.com/attachments/1135927050297938080/1135974584856887428/Screenshot_2023-08-01_18.36.01.png

https://cdn.discordapp.com/attachments/1135927050297938080/1135974585460850848/Screenshot_2023-08-01_18.32.26.png

f
at the end of line 07, is there a ","?
b
yes at the end
f
what is the error on line 08?
b
"Content typ"
i dont know why there is an error line
f
Did you try it form postman?
it seems the authorization token is wrong
b
what is Postman?
f
Postman is an app that do API calls
I just wanted to exclude the point that hte authorization code is valid
2 Views