Encrypted event subscriptions not triggering | XM Community
Skip to main content
Question

Encrypted event subscriptions not triggering

  • August 1, 2024
  • 1 reply
  • 63 views

Forum|alt.badge.img+1

Hey folks,

 

I’ve created an unencrypted event subscription and that seems to be working as expected. The problem I’m having is when I create an encrypted subscription the same topic. My listener isn’t receiving any messages from the encrypted subscription.

Can anyone provide some insight into what may be going on?

 

Thanks!

1 reply

Forum|alt.badge.img+1
  • Author
  • August 6, 2024

This issue has been resolved.

 

It appears there was an issue with the `sharedKey`. Generating a new key seems to have fixed the issue. The fact that no calls were being made to my listener makes me assume that event sending was failing silently.

There isn’t a lot of visibility in what’s happening when an event is trying to be sent and it’s disappointing that POST /API/v3/eventsubscriptions accepts what seems to be malformed sharedKey values

 

I haven’t been able to find any endpoints that let me check the status of an event