Obiguard uses conventional response codes to indicate the success or failure of an API request. In general: Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided. Codes in the 5xx range indicate an error with Obiguard’s servers (these are rare).

Common Errors

During request processing, you may encounter error codes from either Obiguard or the LLM provider:

Status CodeDescriptionSource
408Request timed outObiguard OR Provider
412Budget exhaustedObiguard OR Provider
429Request rate limitedObiguard OR Provider
446Guardrail checks failed (request denied)Obiguard
246Guardrail checks failed (request successful)Obiguard

Provider-specific error codes are passed through by Obiguard.