Failed sync due to schema requirements #59

Closed
opened 2026-05-06 00:29:20 +00:00 by hodlbod · 2 comments
Owner

On the latest zooid: relay sync failed relay=6cd424c2-9ade-4ad7-9bb1-03b5002cd096 error=zooid sync returned 400 Bad Request: {"error":"schema must contain only letters, numbers, and underscores"}

Default schema should be slugify(subdomain) + '_' + relay.id[:8]

On the latest zooid: `relay sync failed relay=6cd424c2-9ade-4ad7-9bb1-03b5002cd096 error=zooid sync returned 400 Bad Request: {"error":"schema must contain only letters, numbers, and underscores"}` Default schema should be `slugify(subdomain) + '_' + relay.id[:8]`
Author
Owner

Let's actually make the schema the same as the relay schema as described above. This will make looking through config files and such much easier. Collisions are very unlikely to happen with subdomain + 8 hex digits, and a the unique constraint on subdomain will keep us safe there too.

Let's actually make the schema the same as the relay schema as described above. This will make looking through config files and such much easier. Collisions are very unlikely to happen with subdomain + 8 hex digits, and a the unique constraint on subdomain will keep us safe there too.
Author
Owner

Fixed in dbe25c3

Fixed in dbe25c3
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: coracle/caravel#59