ViewStoreErrorCodes

The view store's own error codes. The starter registers an HTTP status for each.

Properties

Link copied to clipboard

A configured system view is read-only: every write to one is refused. A stored system view (owner (system)) is written through the view routes, but never shared or claimed. HTTP 403.

Link copied to clipboard

The request carries no CoSec-App-Id. HTTP 400.

Link copied to clipboard

The event streams of the view store's aggregates are not open to HTTP queries. HTTP 403.

Link copied to clipboard
const val VIEW_INVALID: String

The request is not a valid view or preferences write: its config, title, or audience change. HTTP 400.

Link copied to clipboard

An HTTP query of a view store aggregate names no tenant and owner in its path: only the …/tenant/{tenantId}/owner/{ownerId}/… query routes are open. Also any view store path whose decoded tenant or owner is empty or holds whitespace or control characters, and a request on stored system views whose path does not spell …/tenant/(platform)/owner/(system)/… literally (percent-encoded, a ; parameter, another letter case). HTTP 400.