Joda datetime not supported by default error with Powertools idempotency #1569
Unanswered
ChilukuriHR
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Thanks for your message. It's strange, where do you get this error, can you provide more logs? I would recommend the following but if you can share more logs (with line numbers in our code), it would help. In your function constructor, add the following: ObjectMapper mapper = JsonConfig.get().getObjectMapper();
mapper.registerModule(new JodaModule()); With the following maven dependency: <dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-joda</artifactId>
<version>...</version>
</dependency> |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am facing the below issue with powertools Idempotency. can you assist in resolving this.?
Joda date/time type org.joda.time.DateTime not supported by default: add Module "com.fasterxml.jackson.datatype:jackson-datatype-joda" to enable handling (through reference chain: com.amazonaws.services.lambda.runtime.events.S3Event["records"]->java.util.ArrayList[0]->com.amazonaws.services.lambda.runtime.events.models.s3.S3EventNotification$S3EventNotificationRecord["eventTime"])
Thanks in advance.!
Beta Was this translation helpful? Give feedback.
All reactions