#matt-jones-siteglide-sitegurus_webhooks
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1474394590667604018
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- matt-jones-siteglide-sitegurus_api, 1 hour ago, 11 messages
Hi please let me know if the sandbox screen recording would be helpful.
๐ Hi there, just taking a look at the event
I don't actually see any Connect webhooks set up in this sandbox account
Interesting..
What happens if you look up this destination ID? ed_test_61UCFFB1zKQ5xoc9e16U8HPBHhE91XYS73jaCGGV6O6C
I'm actually getting webhook requests arriving at my site for destination we_1T2rGxJNiKvHd4vKX075Rb7Z
So something must exist surely?
But I wonder if I'm accidentally looking at the wrong account... it's just I can see the events and webhooks in tabs next to each other on the same workbench.
The webhook above (we_1T2rGxJNiKvHd4vKX075Rb7Z) is an Account webhook, so that will receive events related directly to the account itself
That's the only webhook I see set up on the sandbox
Weird... I guess I'll try and set up the connect one again with a new name and see if you can see it.
Can you see ed_test_61UCHlLzNzGPFi3o716U8HPBHhE91XYS73jaCGGV63vE ?
Bear with me, just looking into this
Yes, that webhook does seem to be set up correctly. Has there been events that should have delivered to it?
Thanks for confirming
I will try and trigger one now
Sorry need to reset a password for the connected account
Okay that should trigger an account change, Checking
So this is the event I think evt_test_65UCID9JyhJhokUqm4L16U8HPBHhE91XYS73jaCGGV6Uf2
But I don't see an outgoing webhook from ed_test_61UCHlLzNzGPFi3o716U8HPBHhE91XYS73jaCGGV63vE
Hi there, taking over for @tidal fjord as they had to step away
Catching up on this thread, at a glance it looks like the webhook is properly set up to listen to connect v2 events, and the event you just sent is a v2 event, so it should have worked. Will do some investigating
Thank you
If I'm understanding correctly, you have a webhook that was created for Connected and v2 accounts. Can you make a new webhook for your own account instead that listens to Accounts v2 events? I know it sounds counterintuitive, but v2 events work a bit differently and I believe that's the correct approach here
Ah okay. I can try that.
So this is my existing webhook destination for listening to events on my own account, and it won't let me add Accounts V2 events to it.
I will try a brand new destination though
I think that's working now. ed_test_61UCIX1wkBoJllHsZ16U8HPBHhE91XYS73jaCGGV6JiC I can see 2 webhooks were triggered by a change on the connected account.
I think we can ignore the fact that they failed, that's just because i sent to a URL that doesn't exist yet I think.
Nice! It's pretty counter-intuitive, and I don't think our docs currently do a good job of making this clear. I will flag it internally to make some improvements there
Thank you! I guess it is difficult when the docs have to explain v1 and v2.
I guess what I'm still confused about was that the dashboard wouldn't let me listen for the events on my other core webhook? Was there a reason I had to create a new one?
I'm not 100% sure, it may have to do with the fact that the webhook was originally created to listen to snapshot events, whereas v2 events have a different architecture
Okay, thank you for helping me through it! Have a good day!
I believe if you tried to create a webhook that listens to both type of events, it ends up making two webhooks (that's what I remember offhand)