Skip to content

software.amazon.awssdk.core.exception.SdkClientException: Unable to marshall request to JSON: Protocol must be 'http' or 'https', but was daxs #3328

@raghavEpam

Description

@raghavEpam

Hi @yasminetalby ,
We are using java sdk 2. creating client as follows : -
DynamoDbClient.builder()
.credentialsProvider(credentialsProvider)
.endpointOverride(URI.create(daxEndpoint))
.overrideConfiguration(
ClientOverrideConfiguration.builder()
.retryPolicy(RetryMode.STANDARD)
.build()
)
.region(Region.of(region))
.build();

Any suggestions what can we do for this exception?
It would be great If I can get some solutions.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions