Running into a weird issue with the Web Messaging SDK deployment configuration. I’m trying to set the launcher position to the top-right via the deployment JSON, but the widget stubbornly renders in the bottom-left every time. No console errors. The API call returns 200 OK, so the config is saving.
Here’s the minimal repro payload I’m sending to POST /api/v2/webmessaging/deployments:
{
"brandId": "my-brand-id",
"name": "Test Widget",
"widgetStyle": {
"launcherPosition": "top-right",
"primaryColor": "#FF0000"
},
"routing": {
"defaultQueueId": "my-queue-id"
}
}
I’ve verified the brand ID is correct and has the right permissions. The primaryColor actually updates in the UI, so the object is being parsed. It’s just the launcherPosition that gets ignored.
I checked the response from the GET endpoint after creation. It echoes back "launcherPosition": "top-right" perfectly. So the backend thinks it’s set. The frontend SDK script tag is standard:
<script id="genesys-web-messaging-sdk" src="https://sdk-cdn.genesys.cloud/latest/sdk.js" data-deployment-id="my-deployment-id"></script>
Cleared cache, tried incognito, same result. I even tried top-left just to see if it was specific to the right side. Still bottom-left.
Is there a known bug in the latest SDK release where this property is deprecated or mapped incorrectly? Or am I missing a nested field in widgetStyle? The docs are vague on this specific override.
Tried setting it via CSS in the custom CSS field too, but that’s a hack and breaks on mobile. Need the native config to work.
Anyone else see this? It’s blocking our rollout.