I am working on adding a new library that depends on AWS JDK to my project, however, some other untouched existing component querying DynamoDB throws the exception:
Caused by: com.amazonaws.services.dynamodbv2.model.AmazonDynamoDBException: User not found: the_user_key (Service: AmazonDynamoDBv2; Status Code: 400; Error Code: UnrecognizedClientException; Request ID: null; Proxy: null)
the_user_key works well before I add the new library, but it suddenly says the user was not found.
I am using com.amazonaws:aws-java-sdk-dynamodb:1.11.704, "com.amazonaws:aws-java-sdk-core:1.11.704", and there are also a bunch of software.amazon.awssdk with version 2.16.87.
I am wondering if anybody encountered similar issues before, or if anybody could give any advice.