Hello,
I want to use a webhook that I utilized for Nylas v2, but when I write it in Nylas v3, I encounter an error. What does it mean?
This is webhook in Nylas v2
This is error in Nylas v3
Hello,
I want to use a webhook that I utilized for Nylas v2, but when I write it in Nylas v3, I encounter an error. What does it mean?
This is webhook in Nylas v2
Hello @Kateryna Webhooks in V3 need to follow a certain name convention:
<YOUR_WEBHOOK_URL>/webhook
When creating your webhook, Nylas will look for that URL and request a challenge that must be returned.
Check this code sample ruby-read-webhooks/app.rb at main · atejada/ruby-read-webhooks · GitHub
get '/webhook' do
if params.include? "challenge"
"#{params['challenge']}"
end
end
Also, check the Webhooks Quickstart Guide: Webhook Quickstart: create and read webhooks | Nylas Docs
@Kateryna I just test it out and delete it afterwards…and it’s working for me…
No need for /webhook in your case…please try again…
The first step is to go to the tab Notifications and click on Create Webhook
Choose triggers
when I click button create webhook and I have the same error
@Kateryna Just test it again and noticed one single detail
southeast1
here is 1 and you’re using an l. So don’t use southeastl
but southeast1