> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Weak Gateway Secret Error • AI Agent SDK

> WeakGatewaySecretError: Raised when a gateway secret matches a known-weak/placeholder value.

# WeakGatewaySecretError

> Defined in the [**protocols**](../modules/protocols) module.

<Badge color="blue">AI Agent</Badge>

Raised when a gateway secret matches a known-weak/placeholder value.

## Constructor

<ParamField query="field" type="str" required={false} default="'gateway.auth_token'">
  No description available.
</ParamField>

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/gateway/protocols.py#L2030">
  `praisonaiagents/gateway/protocols.py` at line 2030
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Gateway Feature" icon="tower-broadcast" href="/docs/docs/features/gateway" />
</CardGroup>
