This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-11
Channels
- # announcements (21)
- # aws (2)
- # babashka (20)
- # beginners (47)
- # bristol-clojurians (2)
- # calva (63)
- # cider (24)
- # clj-kondo (22)
- # cljs-dev (3)
- # cljsrn (6)
- # clojars (3)
- # clojure (147)
- # clojure-europe (21)
- # clojure-france (2)
- # clojure-italy (3)
- # clojure-losangeles (1)
- # clojure-nl (3)
- # clojure-spec (2)
- # clojure-uk (70)
- # clojurescript (37)
- # core-logic (6)
- # cursive (4)
- # data-science (2)
- # datomic (99)
- # events (1)
- # figwheel-main (20)
- # fulcro (26)
- # graalvm (6)
- # graphql (5)
- # kaocha (8)
- # leiningen (20)
- # meander (22)
- # nrepl (4)
- # off-topic (27)
- # pathom (5)
- # pedestal (3)
- # re-frame (20)
- # reagent (4)
- # shadow-cljs (43)
- # spacemacs (11)
- # tools-deps (55)
- # tree-sitter (6)
- # vim (8)
- # xtdb (18)
- # yada (14)
Hello! Any idea why a DynamoDB :PutItem
fails with
> DynamoDB operation failed: NUMBER_VALUE cannot be converted to String
> (com.amazon.coral.service#SerializationException)
? I know the issue is with my autoDeleteAfter
property for removing it fixes the problem. This is defined as the TTL property of the table and thus should be a number of epoch seconds. Adding it manually via AWS Console works. This is the request:
{:op :PutItem, :request {:TableName "offboarding", :Item {"offboardingId" {:S "3fb36a75-2957-44a0-9b16-f6cd4a565547"}, "d" {:S ":not-relevant"}, "autoDeleteAfter" {:N 1591574400}}, :ConditionExpression "attribute_not_exists(offboardingId)"}}
(I am using com.cognitect.aws/dynamodb "726.2.484.0", com.cognitect.aws/api "0.8.352")
Thank you!!!✅ 4