These docs are for v0.0.1. Click to read the latest docs for v1.0.61.

Discussions

Ask a Question
Back to All

chat SDK init() fails 404 not found

starting yesterday afternoon, my chat client stopped working. I'm using sdk 0.1.53 (directly, not via the sample widget). the logs show:

AvayaCCaaSChatSDK.init() called (integrationId = fbea297d-dedf-4071-9f94-0a8315b6264e, reconnectionTimeout = 120, idleTimeout = 300, idleShutdownGraceTimeout = 30, logLevel = DEBUG)

Using sessionId from Session Storage (sessionId = "ebfc6024-463b-499d-9a40-9f897114cc05", )

GET https://na.cc.avayacloud.com/sdk/digital/chat/v1/integrations/fbea297d-dedf-4071-9f94-0a8315b6264e/sessions/ebfc6024-463b-499d-9a40-9f897114cc05 404 (Not Found)

I have checked my integrationId and it's correctly administered, so I'd guess it's that sessionId (obtained from "Session Storage" that's not being found.

how do i fix that?

coincidentally the problem started yesterday afternoon as the latest drop rolled out.

	AvayaCCaaSChatSDK.init( {
			hostURL: baseURL,
			integrationId: libertyDemoChatIntegration,
			token: tokenJWT,
			appkey: myAppKey
		}, {
			reconnectionTimeout: 120,
			idleTimeout: 300,
			idleShutdownGraceTimeout: 30,
			logLevel: "DEBUG"
		}
	);