Snowplow Golang tracker Iglu issue


#1

Hi,

We have setup a Snowplow golang tracker for some backend tracking. The data seems to be getting collected into the raw S3 bucket correctly though. But we’re seeing some issue with the EMR enrichment stage:

Getting the following error n the enriched/bad S3 folder:

{"line":"{data}",
	"errors":[{
		"level":"error",
		"message":"error: ECMA 262 regex \"^iglu:[a-zA-Z0-9-_.]+/[a-zA-Z0-9-_]+/[a-zA-Z0-9-_]+/[0-9]+-[0-9]+-[0-9]+$\" does not match input string \"\"\n    
		level: \"error\"\n    
		schema: {
			\"loadingURI\":\"#\",
			\"pointer\":\"/items/properties/schema\"
		}\n    
		instance: {
			\"pointer\":\"/0/schema\"
		}\n    
		domain: \"validation\"\n    
		keyword: \"pattern\"\n    
		regex: \"^iglu:[a-zA-Z0-9-_.]+/[a-zA-Z0-9-_]+/[a-zA-Z0-9-_]+/[0-9]+-[0-9]+-[0-9]+$\"\n    
		string: \"\"\n"
	}],
	"failure_tstamp":"2017-05-18T09:55:43.183Z"
}

Since we’re not using any custom contexts here, the iglu_resolver.json just points to: http://iglucentral.com/
Any idea what might I be missing here?


#2

Hey @skrisshnaswamy - if you are sure you are not creating any of your own self-describing events or custom contexts, then I think we’ll have to treat this as a bug. Could you raise a ticket in the Golang project please:


#3

@alex my bad! it appears we had set the custom context which i missed. Removing the cx parameter helped. Sorry for the false alarm.