We recently added a new jsonschema and it appears that the iglu resolver is unable to locate it.
It seems as though we’ve done everything correctly based on the the instructions on Github and the other posts I’ve investigated here on the Snowplow Discourse.
Here’s an example context:
{"schema":"iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-0","data":[{"schema":"iglu:com.managedbyq/hivy_user/jsonschema/1-0-0","data":{"user_id":"BySwZTqAf","is_admin":false,"is_employee":true,"is_contractor":false}},{"schema":"iglu:com.managedbyq/hivy_company/jsonschema/1-0-0","data":{"company_id":"Vk_1-Hb5z","company_slug":"redacted"}},{"schema":"iglu:com.managedbyq/hivy_slack/jsonschema/1-0-0","data":{"action":"product","source":"command"}}]}
error message:
error: Could not find schema with key iglu:com.managedbyq/hivy_slack/jsonschema/1-0-0 in any repository, tried: level: "error" repositories: ["Iglu Central [HTTP]","Iglu Client Embedded [embedded]","Q Iglu [HTTP]"]
our iglu resolver:
{
"schema": "iglu:com.snowplowanalytics.iglu/resolver-config/jsonschema/1-0-0",
"data": {
"cacheSize": 500,
"repositories": [
{
"name": "Iglu Central",
"priority": 0,
"vendorPrefixes": [ "com.snowplowanalytics" ],
"connection": {
"http": {
"uri": "http://iglucentral.com"
}
}
},
{
"name": "Q Iglu",
"priority": 1,
"vendorPrefixes": [ "com.managedbyq" ],
"connection": {
"http": {
"uri": "http://q-snowplow-iglu.s3-website-us-east-1.amazonaws.com"
}
}
}
]
}
}
For example, this url works: http://q-snowplow-iglu.s3-website-us-east-1.amazonaws.com/schemas/com.managedbyq/hivy_slack/jsonschema/1-0-0
We have other schemas stored in the same S3 bucket (q-snowplow-iglu) that are working as expected.
Any tips on debugging?