This error occurs when Unkey’s internal system detects an inconsistency or violation of its expected invariants during the processing of your request. Unlike validation errors which occur when your input is invalid, assertion failures happen when the system’s internal state doesn’t match what was expected.Possible causes include:
Data corruption or inconsistency in Unkey’s database
Bugs in Unkey’s business logic
Race conditions or timing issues
System state that violates core assumptions
Incompatible changes between different parts of the system
This type of error is generally not caused by anything you did wrong in your request, but rather indicates an internal issue with Unkey’s system integrity.