Closed laheadle closed 6 days ago
I am seeing an issue with establishing a messaging session. The error is:
[ERROR] SDK - Messaging Session failed to resolve endpoint: TypeError: partitions is not iterable
Here is the code:
import * as chmsg from '@aws-sdk/client-chime-sdk-messaging'; import * as sdk from 'amazon-chime-sdk-js'; import * as creds from '@aws-sdk/credential-providers'; const userArn = "arn:aws:chime:us-east-1:050561098711:app-instance/35a13aa8-e67a-4bdb-8695-7570adbf8c59/user/1e6a1a2c-8a4e-47c0-8391-5eaac548db61"; const client = new chmsg.ChimeSDKMessagingClient(({ "region": "us-east-1", "credentials": creds.fromHttp(({ "credentialsFullUri": "http://localhost:8080/party/credentials" })) })); const configuration = new sdk.MessagingSessionConfiguration(userArn, null, undefined, client); const logger = new sdk.ConsoleLogger("SDK", "ERROR"); const session = new sdk.DefaultMessagingSession(configuration, logger); session.start();
Is this behavior expected?
the issue was a problem with my webpack config. It was transforming json into text. the partitions are stored as json.
sorry.
I am seeing an issue with establishing a messaging session. The error is:
Here is the code:
Is this behavior expected?