Skip to content

Help & Troubleshooting

For issues with maKI, contact:
Philipp Hematty — philipp.hematty@uni-mannheim.de

Support hours: Mon–Fri, 09:00–17:00 (best effort, no guaranteed response time).

Escalation: Alexander Pfister (department head).

{ "error": { "message": "Invalid API key", "code": 401 } }
  • Check that the API key is correctly set in the Authorization header: Bearer sk-...
  • Key expired or revoked? Contact support for a new key.
{ "error": { "message": "Model not found", "code": 404 } }
  • Check the model name — see Available Models for the current list.
  • Model names are case-sensitive.
{ "error": { "message": "Rate limit exceeded", "code": 429 } }
  • Your key has hit its request limit. Wait briefly and retry.
  • Per-key limits are documented under API Keys.
  • The service is temporarily unreachable (e.g. maintenance or GPU restart).
  • Try again in a few minutes.
  • If the outage persists, contact support.

The error message says that the request exceeds the context window. The input and maximum output do not fit inside the context window together. The Context window page explains this limit.

  1. Remove messages and tool results that you do not need for the task.
  2. Divide long documents into smaller sections.
  3. Replace long conversation histories with a short summary.
  4. If the input already fits, decrease the maximum output if necessary.
  5. Send the smaller request again.
  6. Check that the answer is complete.

A smaller maximum output does not help if the input alone is too large. Waiting does not change the request size.

For some models, maKI can automatically decrease the maximum output. maKI must be able to count the input tokens for this adjustment. The adjustment only works if space remains for the output. maKI does not remove messages from your input.

If the error continues, tell support the model name, time, and error message. Before you send the report, remove API keys and confidential content.

  • Large models and long prompts require more compute time.
  • Use stream: true for incremental output.
  • For Chat Completions requests, reduce max_completion_tokens if possible.

The health endpoint shows whether the service is reachable:

Terminal window
curl https://maki.uni-mannheim.de/health

Planned maintenance is announced at least 3 business days in advance by email to all API key holders.