cannot get http request to trigger bot
# 🤝help
g
Hey, I have been trying to send request information into my bot via make, my bot has a webhook integration and trigger. when the request is sent from make, via a http request module, it gives 200 OK, but there is a return error that may be coming from the botpress side. @fresh-fireman-491 mentioned it may be because i need to give the conversation ID but we arent sure right now what to do. I have triggered the bot using insomnia (http client) and it works. The error messages returned are in the images. TIA x
f
Remember to share all errors in the log on the Botpress' side 🙂
g
there is nothing in the logs as far as im aware
ill try find something
f
g
i wasnt sure whether that was from when i tested it with insomnia beforehanf
because it was from a day or two before
I will try again and find some new logs
have you managed to send info from make to botpress yourself using this method
f
Yea
I don't have the errors any more
g
hi bro hope you have been well, havent been working on this these past 4/5 days because it was my birthday and some other things. very happy to hear that you have been succesfull with this. I will message you tomorow when i finish uni as im off to bed now. speak soon 💯
f
Happy Birthday 🎂🎉🥳 That sounds good!
g
thank you bro! typical birthday offsetting my bot building progress
i havent had as much time with uni and birthdays to focus on my bots but I will be back doing it soon
going on a date with a girl now so probably not till tomorow 🤣 have a good day bro
f
Thank you, and best of luck with the date
g
ahha thank you bro
im back now and looking to workkkk
so imma test my make to botpress with webhook trigger again. ill let you know as soon as i do
f
Sounds good
i dont understand whats going wrong apart from i get this on the output
any clue about that error message? i just put a query about it in the make community but i have a feeling its a botpress error message back to make as the request status is 200 https://cdn.discordapp.com/attachments/1219344968485703821/1222261570743046286/Screenshot_2024-03-26_at_19.01.43.png?ex=661592ca&is=66031dca&hm=4859cb4e77f18e7f0bdf9b4efa4a79d09a98f08ec292eaa9eaa83e9690731c17&
f
Can you add "" around the variables
g
ill do it again and show tou
f
Can you try having the Request content be this:
{ "email": { "name": "Decay", "adress": "decay@somewhere.com", "subject": "subject", "content": "text content" }}
g
ill try it bro but i think i tried it before with the json i used in insomnia and it didnt work, one sec
exactly the same, but i tried it with insomnia straight after and it worked
f
Can you double check the Webhook url
g
its the right url i just checked
i understand if you wouldnt want to, but i am willing to let you log into my make and botpress to see for yourself, i actually think this is a back end issue but you say you got this method to work for yourself
f
Can you try with this
g
okay ill try this
it worked for you
i didnt get that output error
f
Seems like its an issue with your Webhooki
g
did that work for you decay??
I got it
g
i changed nothing but the webhook url
f
In your workflow
g
i have this also
integrsation enabled also
f
Can you hit publish?
g
everything exactly same as urs
i have
f
Can you try creating a new bot
With the integration
And then try that URL
g
yeah ill get back to you again im gonna make it fresh
import it
into a new one
speak soon
f
👍
g
im trying now but having issues accessing the integrations hub, i think it may be down
will try again when its working
2 Views