Hi, so I have the javascript tracker setup so when a visitor adds or removes something from their cart, I can see that an event is sent from the tracker to my collector. In my network tab, I see the query parameters like so: http://chrisl.in/s/007b35.png
I have a sneaking suspicion it has to do with the bad enrichment data files I see where I see something like this below:
"errors":[{"level":"error","message":"error: instance type (integer) does not match any allowed primitive type (allowed: ["string"])
level: "error"
schema: {"loadingURI":"#","pointer":"/properties/sku"}
instance: {"pointer":"/sku"}
domain: "validation"
keyword: "type"
found: "integer"
expected: ["string"]
"}]
So I have two questions then
- for this data, is it possible to change my sku so it accepts integers as opposed to strings? Otherwise, I feel like if I reprocess my data, it’s all shown as integers so it would still not be processed? Or can i change it so it can accept both integers and strings?
- What’s the best way to rerun all my bad enrichments? I’m assuming it will reprocess the bad data with the new configurations and therefore populate the add to cart and remove from cart tables? For my emr etl runner, I have something like this running:
/home/ec2-user/snowplow-emr-etl-runner run -c /home/ec2-user/config/config.yml -r /home/ec2-user/config/iglu_resolver.json -t /home/ec2-user/config/targets -n /home/ec2-user/config/enrichments/ > /tmp/cron.log