I work with @waspesi the “<------” was never actually sent by tracker, I added the arrow to highlight what I suspected was the issue with the data since its an array, and not an object as the schema is structured. We have since validated the json, (screen shot provided above), so I presume this is not the actual issue. Please take a look at the following resolver.json, schema, and error. It appears something is wrong with the configuration of the enricher.
resolver.json
"schema": "iglu:com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-1",
"data": {
"cacheSize": 500,
"repositories": [
{
"name": "Iglu Central",
"priority": 0,
"vendorPrefixes": [ "com.snowplowanalytics" ],
"connection": {
"http": {
"uri": "http://iglucentral.com"
}
}
},
{
"name": "Custom Schemas",
"priority": 1,
"vendorPrefixes": [ "com.snowplowanalytics.mm" ],
"connection": {
"http": {
"uri": "http://datascience-iglu-repo.cxawsnprd.massmutual.com"
}
}
}
]
}
}
Schema
{
"$schema": "https://datascience-iglu-repo.cxawsnprd.massmutual.com/com.snowplowanalytics.mm/click_event/jsonschema/1-0-0#",
"description": "Schema for click_event",
"self": {
"vendor": "com.snowplowanalytics.mm",
"name": "click_event",
"format": "jsonschema",
"version": "1-0-0"
},
"type": "object",
"properties": {
"linkName": {
"type": "string"
},
"linkType": {
"type": "string"
},
"pageName": {
"type": "string"
},
"sc_audience" : {
"type": "string"
},
"url" : {
"type": "string"
},
"authentication_status": {
"type": "string"
},
"sc_logged_in_status" : {
"type": "string"
},
"lead_id" : {
"type": "string"
},
"tealium_session_id" : {
"type": "string"
},
"tealium_visitor_id" : {
"type": "string"
},
"sc_calculator_results" : {
"type": "string"
},
"sc_portal_login" : {
"type": "string"
},
"sc_navigation_actions" : {
"type": "string"
},
"query_string" : {
"type": "string"
},
"calculator_name" : {
"type": "string"
},
"calculator_category" : {
"type": "string"
},
"calculator_quantity" : {
"type": "string"
},
"calculator_value" : {
"type": "string"
},
"calculator_finished_id" : {
"type": "string"
},
"content_type" : {
"type": "string"
},
"site_id" : {
"type": "string"
},
"visitor_id220892" : {
"type": "string"
},
"search_term" : {
"type": "string"
},
"advisor" : {
"type": "string"
},
"agency" : {
"type": "string"
},
"state" : {
"type": "string"
},
"city" : {
"type": "string"
},
"field_interaction" : {
"type": "string"
},
"event_name" : {
"type": "string"
},
"homepage_tile_text" : {
"type": "string"
},
"author" : {
"type": "string"
},
"scope" : {
"type": "string"
},
"results_count" : {
"type": "string"
},
"module_section" : {
"type": "string"
},
"pdf_name" : {
"type": "string"
},
"filters" : {
"type": "string"
}
},
"minProperties": 1,
"required": [],
"additionalProperties": true
}
Data coming (note I redacted values).
{
"schema":"iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-0",
"data":[
{
"schema":"iglu:com.snowplowanalytics.mm/click_event/jsonschema/1-0-0",
"data":{
"pageName":"Home",
"sc_audience":"prospect",
"authentication_status":"never",
"sc_logged_in_status":"logged out",
"tealium_session_id":"redacted",
"tealium_visitor_id":"redacted",
"content_type":"Home",
"site_id":"MM-Dotcom"
}
}
]
}
Error
&cv=clj-1.1.0-tom-0.2.0&nuid=aaae56ed-2637-485f-af4f-9dbd516e586e\t-\t-\t-\t-\t-","errors":[{"level":"error","message":"error: Could not find schema with key iglu:com.snowplowanalytics.mm/click_event/jsonschema/1-0-0 in any repository, tried:\n level: \"error\"\n repositories: [\"Iglu Client Embedded [embedded]\",\"Custom Schemas [HTTP]\",\"Iglu Central [HTTP]\"]\n"},{"level":"error","message":"error: Problem parsing iglu:com.snowplowanalytics.mm/click_event/jsonschema/1-0-0 as JSON in HTTP Iglu repository Custom Schemas: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: sun.net.www.protocol.http.HttpURLConnection$HttpInputStream@xxxxxx; line: 1, column: 2]\n level: \"error\"\n"}],"failure_tstamp":"2017-12-05T14:11:38.885Z"}
{"line":"2017-12-05\t11:20:33\t-\t13\t10.109.1.84\tGET\t10.109.1.84\t/nginx-health\t404\t-\tcurl%2F7.51.0\t&cv=clj-1.1.0-tom-0.2.0&nuid=-\t-\t-\t-\t-\t-","errors":[{"level":"error","message":"Request path /nginx-health does not match (/)vendor/version(/) pattern nor is a legacy /i(ce.png)