Skip to content

POLICY_NOT_FOUND ​

POLICY_NOT_FOUND

Description ​

The requested policy does not exist in the bounded context's local policy projection.

HTTP Status ​

404 Not Found

doc_url Format ​

The doc_url value is an absolute URL and changes by environment:

<docs-base-url>/errors/policy_not_found

Typical Causes ​

  • The policy identifier is valid but unknown.
  • The policy creation event has not yet been projected by the requested bounded context.
  • The caller used an identifier from another environment.

How To Fix ​

  1. Verify the policy identifier and environment.
  2. Confirm the policy has been projected into the bounded context serving the request.
  3. Retry after the projection exists.

Website