Web Messaging SDK: Triggering proactive message to returning guest

We’re trying to push a proactive notification to a guest who has a previous session using the Genesys Cloud Web Messaging SDK. The guest identifier matches the last conversation, but sendProactiveNotification throws a 401 Unauthorized despite a valid access token.

Here’s the snippet. The token is fresh from the auth flow, so why is it failing?

const response = await sdk.proactive.sendProactiveNotification({
 guestIdentifier: 'guest-123',
 message: 'How can we help?',
 brandId: 'brand-abc'
});