You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
500 error when configuring Mistral AI API key #3937
This looks like a potential backend validation or configuration issue. A few things to check:
Most likely cause: There may be a payload structure mismatch between what the frontend sends and what the backend expects. The validator logic expects a nested structure (data["provider"]["key"]), but test fixtures show a flat structure like {"provider": "openai", "key": "sk-xxx"}.
Other potential causes:
Missing encryption key: The PGPString field will throw an error if AGENTA_CRYPT_KEY isn't properly configured
Activity
linear commentedon Mar 9, 2026
AGE-3695
dosubot commentedon Mar 9, 2026
This looks like a potential backend validation or configuration issue. A few things to check:
Most likely cause: There may be a payload structure mismatch between what the frontend sends and what the backend expects. The validator logic expects a nested structure (
data["provider"]["key"]), but test fixtures show a flat structure like{"provider": "openai", "key": "sk-xxx"}.Other potential causes:
AGENTA_CRYPT_KEYisn't properly configuredTo investigate further: Check the backend logs for the specific error details - all exceptions are logged with a support_id that would help pinpoint the exact failure.
There's also a related UI bug (AGE-3443) where provider configurations incorrectly default to Mistral AI.
To reply, just mention @dosu.
Docs are dead. Just use Dosu.