awslabs / aws-sdk-kotlin

Multiplatform AWS SDK for Kotlin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

S3 store resource failed when upgrading to v1.2.x

hantsy opened this issue · comments

Describe the bug

After upgraded to v1.2.0, in my example project the S3 features tests failed.

Expected behavior

I can not find a change of S3 in the v1.2.0 in the change log.

Current behavior

Throw exception like this.

exception while calling s3 with unknown operation: 
Unable to find operation for request to service s3: 
PUT /, Request ID: aad88e9e-fb98-4511-ad89-dad5818b0068, 
Extended request ID: s9lzHYrFp76ZVxRcpX9+5cjAnEH2ROuNkd2BHfIa6UkFVdtjf5mKR3/eTPFvsiP/XV/VLi31234=

The Github build result: https://github.com/hantsy/aws-sdk-kotlin-spring-example/actions/runs/8866024453/job/24342942185

Steps to Reproduce

  1. Check out my example project, https://github.com/hantsy/aws-sdk-kotlin-spring-example
  2. Run test: https://github.com/hantsy/aws-sdk-kotlin-spring-example/blob/master/src/test/kotlin/com/example/demo/StorageServiceTest.kt

Possible Solution

No response

Context

No response

AWS Kotlin SDK version used

1.9.23

Platform (JVM/JS/Native)

Java 21/JVM

Operating System and version

Windows 10 Pro

Oh, it is my fault about the forcePathStyle value setting after a refactoring.

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.