Self describing event and schema static hosting on cloud storage not working

Hi @simonbreton!

I recommend using Snowplow Micro to debug issues like this. You can spin it up pretty quickly and point to your Iglu registry like so: Basic usage | Snowplow Documentation. Then you can use the API (see the example just above the section I linked to) to check that your schema is accessible, and also send some events and see if they pass validation.

I suspect you need to remove /schemas at the end of your registry URL.

Edit:

  • When I run Micro with MICRO_IGLU_REGISTRY_URL=https://storage.googleapis.com/sp_custom_schemas/schemas and query localhost:9090/micro/iglu/com.breton/order_catalogue_impression/jsonschema/1-0-0, I get a NotFound error.
  • With MICRO_IGLU_REGISTRY_URL=https://storage.googleapis.com/sp_custom_schemas, the same query yields your schema.

So this confirms my suspicion.

3 Likes