GebSecure Docs v0.1.0

Reference · Error codes

Error: validation_failed

The request is well-formed but a field is missing or invalid. details lists the issues.

HTTP 422 · problem type: https://docs.gebsecure.com/errors/validation_failed · title: validation_failed

Common causes#

  • A required field is missing or has the wrong type, length or pattern (for example an action that does not match ^[A-Za-z0-9][A-Za-z0-9_.:/*@-]*$).
  • Policy source that does not parse or validate (POST /v1/policies, /v1/policies/validate).
  • An MCP tools/call whose arguments do not match the pinned input schema.

What to do#

  • Read details in the problem response (the SDKs expose it as details).
  • Validate GSL locally with gebsecure policies validate before saving it.

In the SDKs#

SDK Error type
TypeScript ValidationError
Python ValidationError
Go ErrValidation
Java ValidationException
.NET ValidationException

Every error response is RFC 9457 application/problem+json; see the error model.